On Wed, 2003-05-28 at 16:18, Richard Humphrey wrote:
> Currently we are using tar (extremely simple script) to back up some
> files to tape. I know this is probably not the best way of doing it. Is
> anyone using another method (cpio,dump etc) and which do you prefer and
> why? Any examples of scripts using these methods would be helpful as
> well. I would like to make daily backups of only the files that were
> changed, and then make a full backup over the weekend. Is this a
> sufficient way of doing backups?
> 

unless you've got a very small amount of data, I would recommend using
rsync (or rsync over ssh for encryption), as it can modify and backup
only what has been modified very quickly. 

Something like

rsync -avv --delete -b --suffix='.1' --stats --progress \
        "/storage/folder" \
        "/storage/folder1" \
        "/storage/folder2" \
        "/storage/folder3" \
        "[EMAIL PROTECTED]::dest_folder/backup_foler" > ~/.rsync.log

...is what I use via a daily cron each night on my servers (it doesn't
really delete the last modified files, but renames them as .1 in case a
problem in the day occur. During the next synchronization, those .1
files are, this time, really and definitely deleted. Other options are
either cosmetic or verbose for the logs.  
 
And once a week, the rsync server has another cron that make a full
weekly backup; until it has 4 full weekly backups, the last one becomes
the monthly backup, and the 3 others are deleted, and so on. 

That's what I do ... never said it was absolutely perfect.  

>  Richard Humphrey
>  System Administrator
>  Multicam L.P.
>  (972)929-4070
>  [EMAIL PROTECTED]
-- 
Stéphane Jourdan <[EMAIL PROTECTED]>
ITRIS


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to