Amanda-Users

How do you stop Amanda overwriting a tape?

2004-08-31 09:15:31
Subject: How do you stop Amanda overwriting a tape?
From: "Ranveer Attalia" <Ranveer.Attalia AT tertio DOT com>
To: <amanda-users AT amanda DOT org>
Date: Tue, 31 Aug 2004 14:13:00 +0100
 
I schedule a full backup of our servers on Fridays which is part of the "Weekly" amanda config. I also schedule a separate full backup of our critical server called Pedcent on Sundays which is part of the "Pedcent" amanda config:
 
$ crontab -l
00 22 * *  1-4 /opt/amanda/sbin/ambackup Daily >> /tmp/ambackup_Daily.log 2>&1
00 21 * * 5 /opt/amanda/sbin/ambackup Weekly >> /tmp/ambackup_Weekly.log 2>&1
00 14 * *  0 /opt/amanda/sbin/ambackup Pedcent >> /tmp/ambackup_Pedcent.log 2>&1
 
Hence the tapes I put into the jukebox on Fridays are as follows:
Slot 1: Fri3.1
Slot 2: Fri3.2
Slot 3: Peg0.1
 
where Peg0.1 is used for the "Pedcent" full backup. Evey Monday I receive 2 emails. One telling me that the "Weekly" was successful and the other telling me that "Pedcent" was successful. Here is where the BUT comes in......
 
After doing a recent system disk restore I noticed that when searching for a server to restore from the "Weekly" disklist, it told me to load the Fri3.1 tape. When I read it however, it was displaying all of "Pedcent" partitions. This means that it had actually overwritten the first tape. Did this happen because there wasnt enough room on the Peg0.1 tape so it just went to Fri3.1 ? (there is plenty of room on the Peg0.1 tape by the way)
 
Is there a way that Amanda will request a new tape to be loaded if it reaches to the end of its assigned tape, without going off and overwriting a previous one?
 
Thanks 
 
- Ranveer  
 
  

________________________________________________________________________

Tertio Telecoms (www.telco-tertio.com)

Head Office: One Angel Square Torrens Street London EC1V 1PL
Tel: +44 (0)20 7843 4000 - Fax: +44 (0)20 7843 4001

Bath Office: Riverside Buildings 108 Walcot Street Bath BA1 5BG
Tel: +44 (0)1225 478000 - Fax: +44 (0)1225 478001

Munich Office: Freisinger Strasse 10, 85737 Ismaning/Munich, Germany,
Tel: +49 (0)89 665506 41 - Fax: +49 (0)89 665506 99

Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of Tertio Ltd.

This email has been scanned by the MessageLabs Email Security System.
________________________________________________________________________
<Prev in Thread] Current Thread [Next in Thread>