Amanda-Users

Re: pre/post run commands

2003-07-07 13:23:10
Subject: Re: pre/post run commands
From: "Toomas Aas" <toomas.aas AT raad.tartu DOT ee>
To: Scott Petler <scottp AT sonic DOT net>
Date: Mon, 7 Jul 2003 20:12:55 +0300
Hi!

> I am using amanda to back up to a hard disk on my system and would
> like to protect the backed up disk from accidental erasure.  I thought
> one way to do this would be to mount it then run amdump, and then umount it.
> The disk is going to be vulnerable during the backup period, but "safe"
> when not doing a backup or recover.  
> 
> Is there a way to do this?  

Instead of just running amdump from crontab, run something to a tune of:
mount /backupdisk && amdump YourConfig && umount /backupdisk
--
Toomas Aas | toomas.aas AT raad.tartu DOT ee | http://www.raad.tartu.ee/~toomas/
* I used to be indecisive but now I'm not sure.


<Prev in Thread] Current Thread [Next in Thread>