[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Backup Strategies for linux?



On Sun, 25 Apr 2004, Deboo wrote:

>    What is the best way to backup on linux, with a 250M zip drive? I
>    have tried many backup programs but I wish to have something
>    semi-automatic kind of thing. I have used ibackup, bu (script),
>    kbackup, floppybackup, and few others but am not satisfied with
>    them. What I need is something that would regularly (thru cron or
>    anacron or something else), compress the dir in to a zip file,
>    optionally encrypt it, copy it on to a zip disk and then log on to
>    a webdav or ftp server and transfer this file automatically there?
>    What is the best way to have this kind of backup done?
> 
>   What different backup strategies are there on linux and what is the
>   best one? Is there some good website that discusses these? If someone
>   can point me there, it would be great.

i say keep it simple ... use find and tar
	- find all changes since your last backup

	- do daily, 7 day, 30 day, 90day incremental backups 
	per your paranoia levels
	- full backups weekly, monthly, quarterly, semi-annually
	per your paranoia levels

	- tar it all up and copy it over to your backupd device


cd / ; find home etc -mtime -$DAYS | grep -iv $excludes | \ 
	tar zcvf /mnt/zip/$today.tgz -T -

	- let cron figure out daily, weekly, monthly, number of days
	to span for incremental backups
		- one script and 4 lines in cron that passes "days"

-- and there are tons of sanity checking you need to do ...
   above couple lines becomes a couple pages of sanity checking

you should test that backyup actually works once in  gazillion years
before you actually need to find a file from it

tons of free simple scripts
	http://www.linux-backup.net/scripts/Backup.pl
	http://www.Linux-Backup.net/App

c ya
alvin





Reply to: