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

Re: simple backup script



On Tue, 2 Sep 2003 01:42:25 +0200, 
"Yves Goergen" <nospam.list@unclassified.de> wrote in message 
<[🔎] 02da01c370e2$b3abb3c0$fe78a8c0@yves>:

> On Tuesday, September 02, 2003 1:15 AM CET, Marcus Schopen wrote:
> > Hi,
> >
> > I'm looking for a simple backup script, which uses e.g. dd and
> > additionally does some error handling and mail notification. I use
> > amanda for my daily and weekly backups, but to feel more secure, I
> > installed a second harddrive in my server today. Now I'm looking for
> > a nice and secure script, which does a full backup of the first
> > harddisk each day.

..'tar cf mail-spool-`date` /var/spool/mail' on Fridays and tar af 
etc on weekdays?  Leaving out compression facilitates diff'ing etc,
compression saves space and bandwidth but needs cpu oomph, YMWV.

..on completion, scp to an off-site backup box, businesses survive 
fires etc with off-site backup, and dies without.  Script game.

> Why don't you just use RAID to mirror your harddisk?
> 
> Saves you daily backups and gives you instant backup on failure. And
> IIRC your system can keep on running 'on one tyre'.

...such as /var/spool on ext3 on raid-1 going ro for a coupl'a 
days on a wee journal cock-up?  "The best of 2 worlds!".   ;-)

..monitoring and fix ideas?  I mean, a kernel panic is a bit 
overkill when "the flat tire can be patched-n-pumped".  ;-)

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.



Reply to: