rsync

Karl Larsen k5di at zianet.com
Wed May 14 20:23:30 UTC 2008


    This is old hat to the guys running 27 servers for someones company, 
but for me it was new and needed. I have been backing up my system 
(7.10) for months to a hard drive that lives in a $20.00 plastic case 
with power supply and a USB cord using rsync and it IS slick how it 
finds the new stuff and adds it to the system already on the hard drive. 
But I have never recovered the saved system and have been wondering...

    So yesterday I rsync copied this system to the second hard drive on 
this computer. It took about an hour to do but it took longer to boot 
the dam thing. But I got it from an earlier problem with Windows on a 
SATA drive. The IDE drive is /dev/hda and the SATA drive is /dev/sda. As 
far as grub is concerned /dev/hda = /dev/sda = (hd0,x). here is the 
important part:


title           Ubuntu 7.10, kernel 2.6.22-14-generic
        map (hd0) (hd1)
        map (hd1) (hd0)
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.22-14-generic 
root=UUID=a9c1cb61-ddfd-44f6-88b0-6dc976daf9ca ro quiet
initrd          /boot/initrd.img-2.6.22-14-generic
quiet

    So now I can boot the rsync version on the SATA hard drive and it 
works just fine. And that lets me know what to do if I need to re-load 
this system on a new hard drive or another computer. I just rsync it 
onto the new devise.



-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list