rsync backup

Brian Craft javaman67 at acd.net
Sat Nov 21 17:22:44 UTC 2009


I use rsync both at work and home for daily backups.   For my laptop at 
home that has a separate partition just for backups, I wrote the 
following script file and then set a cron job to run each morning at 
2am.  I'm not excluding anything, but here is what I'm using. I just put 
the following in a new file and name it backup.sh (make it executable).


#!/bin/sh

rsync -avh /home/brian/ 
/media/b0f19085-3ada-4af8-b201-6f53cdd73899/ubuntu910backup/


Hope that helps

Brian Craft

Linux Counter id: 97873

Linux......the OS of Choice!








Karl Larsen wrote:
> 	I have lost the little thing I used to call for a backup of 
> my linux. I was using rsync -avg /  exempt/media exempt/dev  . 
> .. /media/disk-1, or something like that.
>
> 	I have looked at man rsync which is confusing, and tried 
> Google but their info is trivial.
>
> 	Is anyone using something like this?
>
> Karl
>
>
>
>   




More information about the ubuntu-users mailing list