[Cialug] Backups with rsync

Jonathan Bailey cialug@cialug.org
Sun, 20 Feb 2005 10:06:39 -0600


I want to do incremental backups since they take less disk space in the 
end (full backups every Sunday for example). I'd then like to rsync 
those backups to another server. This is what I'm using for incremental 
backups now - it's not perfect, but I'm lookign for better.

 rsync -av --exclude-from=/root/rs.exclude 
--compare-dest=/backup/backup-$WEK/ /home/ 
/backup/backup-$WEK-$DATESTAMP/ > /backup/backup-$WEK-$DATESTAMP.log



Jon



Academician Kula wrote:

>On Sat, Feb 19, 2005 at 08:21:08PM -0600, Jonathan Bailey wrote:
>  
>
>>I'm currently using rsync to do a backup every night. I'd like to do 
>>incremental backups, just storing the changed files every backup cycle. 
>>I'm thinking of a full backup on Sunday, and incremental every other day 
>>of the week. I know you can use --link-dest with rsync, but I don't want 
>>all the hard links. How can I make it back up only the changed files 
>>(and structure)?
>>    
>>
>
>You might use find with the appropriate options to find all files
>changed since a certain time, and feed that list to rsync. Newer
>versions of rsync have a --files-from flag, which just takes a list
>of files to copy.   
>
>I am curious why you don't want hard links --- I've been using rsync
>with hard links to do backups for a while now and it seems to work
>well for me. Knowing a bit more about your situation may give us ideas
>for you to try.    
>
>
>
>  
>