Amanda-Users

amanda daily and monthly crontab -e entries

2005-04-20 07:24:28
Subject: amanda daily and monthly crontab -e entries
From: Chuck Amadi <chuck AT smtl.co DOT uk>
To: Amanda List <amanda-users AT amanda DOT org>
Date: Wed, 20 Apr 2005 12:16:37 +0100
Hi all

For my daily and monthly backups for the crontab -e I have my test up
and running just want a bit of advise as some mail list suggest running
amcheck a few hours before amdump to give the admin possibilities to
correct any issues.

Also I anticipate that my config-name <DailySet1> which I will change to
the Organisation name after testing /local/sw/amanda/DailySet1 I created
and label 5 tapes as follows for monday to friday.

su amanda -c "/local/sw/amanda/sbin/amlabel DailySet1 DailySet100"
su amanda -c "/local/sw/amanda/sbin/amlabel DailySet1 DailySet101"
su amanda -c "/local/sw/amanda/sbin/amlabel DailySet1 DailySet102"
su amanda -c "/local/sw/amanda/sbin/amlabel DailySet1 DailySet103"
su amanda -c "/local/sw/amanda/sbin/amlabel DailySet1 DailySet104"

Thus likewise for my MonthlySet1 which I have edited the amanda.conf
org parameter and labelstr to suit MonthlySet.

# 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

# 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

Is this the right path for Daily backups and Monthly full backups that I
will pull out for archiving.

Cheers

Chuck


 
Unix/ Linux Systems Administrator

The Surgical Material Testing Laboratory (SMTL), 
Princess of Wales Hospital 
Coity Road 
Bridgend, 
United Kingdom, CF31 1RQ.

Tel: +44 1656 752820 
Fax: +44 1656 752830


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