From: Eric Hodel Date: 2005-06-17T07:01:51+09:00 Subject: Re: Backing up files and database better in Ant or Ruby? On 16 Jun 2005, at 14:50, vike84 wrote: > 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'. -- Eric Hodel - drbrain@segment7.net - http://segment7.net FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04