[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question on backups using rsync



On Mon, Dec 19, 2005 at 12:31:40AM -0500, Roberto Sanchez wrote:
> Brad Sims wrote:
> >I have a 300GB external HD that contains a current / with the
> >exeption of /proc/ /tmp/ /mnt/ /dev/ and /sys/...
> >
> >Is it possible do a bare-metal restore using this? 
> >
> >Also can you think of anything useful to add to this script?
> >
> <SNIP script>
> 
> Have you considered switching to systemimager, dirvish, or another of 
> the very featureful rsync-based backup tools?
> 
> -Roberto
> 
> -- 
> Roberto C. Sanchez
> http://familiasanchez.net/~roberto
> 
> 
Hi Brad,

I'll add rsnapshot to Robertos useful suggestion and yes, it is
definitely possible to do a full restore with a backup of a root
partition; in fact it's my default way of installing a new system.
Here's a little reminder written only for myself, so no claim of
completeness:

          + clone system
              · boot with knoppix
              · rsync -avx root@oldsystem:/ /mnt/newroot/
              + chroot /mnt/newroot/
                  · change /etc/hostname
                  · change /etc/network/interfaces
                  · change /etc/fstab
                  · change /etc/X11/XF86Config-4
                  · change /etc/lilo.conf
                  · run lilo
              · reboot

Together with a NFS mounted home directory, I get machines cloned
really fast.

Hth
-- 
Andreas Rippl -- GPG messages preferred
                 Key-ID: 0x81073379

Attachment: signature.asc
Description: Digital signature


Reply to: