Backing up files and database better in Ant or Ruby?

V

vike84

I am looking to write some basic scripts to back-up various files and
databases as well as restore them. Do you think this would be easier
and better to do using Ant or Ruby?

I would appreciate any insight available.

Thanks!
 
A

Austin Ziegler

I am looking to write some basic scripts to back-up various files and
databases as well as restore them. Do you think this would be easier
and better to do using Ant or Ruby?
=20
I would appreciate any insight available.

Probably Ruby. Less angle-brackets.

-austin
--=20
Austin Ziegler * (e-mail address removed)
* Alternate: (e-mail address removed)
 
E

Eric Hodel

I am looking to write some basic scripts to back-up various files and
databases as well as restore them. Do you think this would be easier
and better to do using Ant or Ruby?

Where do you want to back them up to?
I would appreciate any insight available.

I use sh heavily for doing backups, for example, I have scripts run
via cron to make mysql and svn repo backups, and a separate job to
expire old backups (via find -delete). Then I back the whole thing
up with amanda, which uses plain 'ol dump.

Doing that in ruby/ant would involve too much extra typing (for me).

rsync can also be very helpful, I use that to make remote copies of
amanda's disk 'tapes'.
 
J

Joel VanderWerf

vike84 said:
I am looking to write some basic scripts to back-up various files and
databases as well as restore them. Do you think this would be easier
and better to do using Ant or Ruby?

What about rsync (maybe driven by a ruby script)?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,174
Messages
2,570,940
Members
47,485
Latest member
Andrewayne909

Latest Threads

Top