suggestions to sync partitions

SYNass IT Ubuntu / Linux i-ubux at synass.net
Mon Apr 14 13:08:33 UTC 2008


On Mon, 2008-04-14 at 06:02 -0600, Karl Larsen wrote:
> SYNass IT Ubuntu / Linux wrote:
> > Hello Ubuntu  experts and users
> > I am preparing my backup / restore strategy and would like to 
> > hear your suggestions how to get an comfortable/easy/fast way to 
> > have 2 partitons, i.e. original HOME and its backup on an USB HDD
> > sync'ed !
> >
> > Is "rsync" a (good) solution too do or are you having other
> > recommendations ?
> >
> > The best would be a script to have it sync'ed every time before shutdown
> > automatically 
> > or called when needed !?
> >
> > Glad to hear and learn from you. :-)
> >
> > TIA and cheers, svobi
> >
> >
> >   
>     I do my backup with rsynch and a USB connected hard drive.  Remember 
> that your backup hard drive is at /media so you can't back up /media or 
> you will never complete :-)
> 
>     Here is my backup file:
> 
> karl at karl-desktop:~$ cat /root/bin/backup
> # This file is designed to backup my Ubuntu to the USB Hard Drive using 
> rsync
> # Karl Larsen, 26 Feb 08
> rsync -avz /boot /media/disk/
> rsync -avg /bin  /media/disk/
> rsync -avg /dev  /media/disk/
> rsync -avg /etc  /media/disk/
> rsync -avg /home /media/disk/
> rsync -avg /lib  /media/disk/
> rsync -avg /opt  /media/disk/
> rsync -avg /root /media/disk/
> rsync -avg /sbin /media/disk/
> rsync -avg /srv  /media/disk/
> rsync -avg /sys  /media/disk/
> rsync -avg /tmp /media/disk/
> rsync -avg /usr /media/disk/
> rsync -avg /var /media/disk/
> rsync -avg /initrd /media/disk/
> 
>     This is a complete backup and I redo it every week or so. Karl


Hi Karl
Thanks for your feedback, hints and sample !

I will have to study and test it !! ;-))

My external HDD case can connect either networking / TCP-IP or USB !!!
Will also need to test which seems better !?
The same with your unit ?

Cheers, svobi





More information about the ubuntu-users mailing list