rsync backup

Karl F. Larsen klarsen1 at gmail.com
Sat Nov 21 17:47:37 UTC 2009


Brian Craft wrote:
> 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/
> 


	Unless I don't understand, your backup is just for the 
/home/brian directory. I can do that. But what I want is a 
complete backup of this computer.

Karl

> 
> 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
>>
>>
>>
>>   
> 


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
         Key ID = 3951B48D





More information about the ubuntu-users mailing list