public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] Quick rsync backup before changing a RAID
@ 2013-06-19 18:59 Mark Knecht
  2013-06-19 19:15 ` Paul Hartman
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Mark Knecht @ 2013-06-19 18:59 UTC (permalink / raw
  To: Gentoo AMD64

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-06-20 15:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-19 18:59 [gentoo-amd64] Quick rsync backup before changing a RAID Mark Knecht
2013-06-19 19:15 ` Paul Hartman
2013-06-19 19:21   ` Mark Knecht
2013-06-19 20:20     ` Rich Freeman
2013-06-19 20:35       ` Mark Knecht
2013-06-19 19:37   ` Thanasis
2013-06-19 19:46     ` Mark Knecht
2013-06-19 19:49     ` Paul Hartman
2013-06-19 19:19 ` Panagiotis Christopoulos
2013-06-19 19:22   ` Mark Knecht
2013-06-20 13:44 ` Benny Pedersen
2013-06-20 15:25   ` Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox