Hi,
   I need to change the RAID layout on my home server. This change
does _not_ involve the running RAID6 with Gentoo on it (at least at
the moment) but only a rather old, large and ill-placed second RAID6
that has some _very_ important Virtualbox VMs. Now, I have backup
scripts for protecting this stuff, and I use them every night, but
I've never had to do a restore so at this point I don't know whether
they really work. The files are there (checked by hand anyway) but who
knows if permissions or something else might cause a problem so I want
to be extra careful.

   Today, I created a new backup USB drive and want to do an rsync to
that drive as a second backup. I intend to restore from this drive
later today when the RAIDs are rebuilt and ready to go. I'd like some
ideas on best practices for using rsync to do this job.

   My current scripts use this basic format:

mark@c2RAID6 ~ $ cat ./DoBackups
mount /backups
rsync -avx /VirtualMachines/VMWare/. /backups/VMWare
rsync -avx /VirtualMachines/Virtualbox/. /backups/Virtualbox
rsync -avx /home/. /backups/home
cd
umount /backups
mark@c2RAID6 ~ $

   I'm wondering whether -avx is what others would use or whether
there's a better set of options.

   When the RAID comes back up I want to reverse and copy back from
USB drive to the /VirtualMachines directory.

Thanks in advance,
Mark

Reply via email to