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

Re: [Sheflug] Re: Backup advice



On Sun, 2002-03-31 at 22:39, Richard Ibbotson wrote:
> and done 'chmod +x backup'.   Thing that I'm still wondering about is 
> the bit about "/tmp/mybackup/$FILE" in the script.  Shouldn't 
> mybackup read as something else ?

Yep, should be /tmp/backup/$FILE, as I originally wrote ;) Looks like
you misread it :)

>  Also the crontab looks like this 
> 14 0  	* * * 	root   /usr/bin/backup
> 
> to make a daily backup.   Is that correct or am I just completely 
> wrong here ?

You don't need 'root' with vixie cron - every user has their own
crontab, hence you just need to put this in root's cron and all will be
well.

@daily 	/usr/bin/backup

.. is easier though :)

Cheers,

Alex.

Attachment: signature.asc
Description: This is a digitally signed message part