Amanda-Users

Re: amanda daily and monthly crontab -e entries

2005-04-20 07:43:44
Subject: Re: amanda daily and monthly crontab -e entries
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: Chuck Amadi <chuck AT smtl.co DOT uk>
Date: Wed, 20 Apr 2005 07:33:14 -0400 (EDT)
On Wed, 20 Apr 2005 at 12:16pm, Chuck Amadi wrote

> # Backup daily dumps
> 
> 5 2 * * 1,2,3,4,5 su amanda -c /local/sw/amanda/bckup/sbin/amdump
> DailySet1
> 
> 0 16 * * 1,2,3,4,5 su -c /local/sw/amanda/bckup/sbin/amcheck DailySet1

You're one day off on your backup line.  It should be:

5 2 * * 2-6 su amanda -c /local/sw/amanda/bckup/sbin/amdump DailySet1

As an aside, I usually put these commands in amanda's crontab with
'sudo -u amanda crontab -e', so then it'd be:

5 2 * * 2-6 /local/sw/amanda/bckup/sbin/amdump DailySet1

> # Backup monthly full dumps for archives on the 2nd day of each
> and every month of the year at 6.30am.
> 
> 30 6 2 1-12 * su amanda -c /local/sw/amanda/bckup/sbin/amdump
> MonthlySet1
> 
> # Backup check running amcheck at 4.30pm on the 2nd day of each and
> every month.
> 30 16 2 1-12 * su amanda -c /local/sw/amanda/bckup/sbin/amcheck
> MonthlySet1

Again -- you're running your amcheck *after* the amdump...

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

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