kdlarg
March 8th, 2007, 02:37 PM
Hello,
I have Amanda version 2.5.1p2.
I would like to have amanda backup every day for seven days and then on the 8th day start over.
1st is this possible. I assume yes.
Here is my set up:
Amanda Tape Server Host Check
-----------------------------
Holding disk /var/tmp/: 34422864 kB disk space available, using 2097152 kB as requested
slot 2: read label `DailySet1-2', date `20070104'
cannot overwrite active tape DailySet1-2
slot 3: read label `DailySet1-3', date `20070105'
cannot overwrite active tape DailySet1-3
slot 4: read label `DailySet1-4', date `20061130'
cannot overwrite active tape DailySet1-4
slot 5: read label `DailySet1-5', date `20070106'
cannot overwrite active tape DailySet1-5
slot 6: read label `DailySet1-6', date `20070106'
cannot overwrite active tape DailySet1-6
slot 7: read label `DailySet1-7', date `20070107'
cannot overwrite active tape DailySet1-7
slot 8: read label `DailySet1-8', date `20070104'
cannot overwrite active tape DailySet1-8
slot 1: read label `DailySet1-1', date `20070104'
cannot overwrite active tape DailySet1-1
changer problem: 1 /dev/nst0 (expecting a new tape)
Server check took 464.462 seconds
Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.172 seconds, 0 problems found
(brought to you by Amanda 2.5.1p2)
amlabel -f DailySet1 DailySet1-1 slot 1;
amlabel -f DailySet1 DailySet1-2 slot 2;
amlabel -f DailySet1 DailySet1-3 slot 3;
amlabel -f DailySet1 DailySet1-5 slot 5;
amlabel -f DailySet1 DailySet1-6 slot 6;
amlabel -f DailySet1 DailySet1-7 slot 7;
amlabel -f DailySet1 DailySet1-8 slot 8;
If I force labels does that clean out all the tapes for the week ?
Some of my conf options below
amanda.conf
define dumptype always-full {
global
comment "Full dump of this filesystem always"
compress none
priority high
auth "bsdtcp"
dumpcycle 0
}
disklist :
localhost.localdomain /dev/hda8 always-full -1 local
more tapelist
20070107 DailySet1-7 reuse
20070106 DailySet1-6 reuse
20070106 DailySet1-5 reuse
20070105 DailySet1-3 reuse
20070104 DailySet1-2 reuse
20070104 DailySet1-1 reuse
20070104 DailySet1-8 reuse
20070108 DailySet1-4 reuse
When I look at my amrecover I currenly only see :
2007-03-08
setdate 2007-03-07
200 Working date set to 2007-03-07.
amrecover> ls
2007-02-03 .
I have Amanda version 2.5.1p2.
I would like to have amanda backup every day for seven days and then on the 8th day start over.
1st is this possible. I assume yes.
Here is my set up:
Amanda Tape Server Host Check
-----------------------------
Holding disk /var/tmp/: 34422864 kB disk space available, using 2097152 kB as requested
slot 2: read label `DailySet1-2', date `20070104'
cannot overwrite active tape DailySet1-2
slot 3: read label `DailySet1-3', date `20070105'
cannot overwrite active tape DailySet1-3
slot 4: read label `DailySet1-4', date `20061130'
cannot overwrite active tape DailySet1-4
slot 5: read label `DailySet1-5', date `20070106'
cannot overwrite active tape DailySet1-5
slot 6: read label `DailySet1-6', date `20070106'
cannot overwrite active tape DailySet1-6
slot 7: read label `DailySet1-7', date `20070107'
cannot overwrite active tape DailySet1-7
slot 8: read label `DailySet1-8', date `20070104'
cannot overwrite active tape DailySet1-8
slot 1: read label `DailySet1-1', date `20070104'
cannot overwrite active tape DailySet1-1
changer problem: 1 /dev/nst0 (expecting a new tape)
Server check took 464.462 seconds
Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.172 seconds, 0 problems found
(brought to you by Amanda 2.5.1p2)
amlabel -f DailySet1 DailySet1-1 slot 1;
amlabel -f DailySet1 DailySet1-2 slot 2;
amlabel -f DailySet1 DailySet1-3 slot 3;
amlabel -f DailySet1 DailySet1-5 slot 5;
amlabel -f DailySet1 DailySet1-6 slot 6;
amlabel -f DailySet1 DailySet1-7 slot 7;
amlabel -f DailySet1 DailySet1-8 slot 8;
If I force labels does that clean out all the tapes for the week ?
Some of my conf options below
amanda.conf
define dumptype always-full {
global
comment "Full dump of this filesystem always"
compress none
priority high
auth "bsdtcp"
dumpcycle 0
}
disklist :
localhost.localdomain /dev/hda8 always-full -1 local
more tapelist
20070107 DailySet1-7 reuse
20070106 DailySet1-6 reuse
20070106 DailySet1-5 reuse
20070105 DailySet1-3 reuse
20070104 DailySet1-2 reuse
20070104 DailySet1-1 reuse
20070104 DailySet1-8 reuse
20070108 DailySet1-4 reuse
When I look at my amrecover I currenly only see :
2007-03-08
setdate 2007-03-07
200 Working date set to 2007-03-07.
amrecover> ls
2007-02-03 .