Amanda-Users

reuse issue with hard disk as backup media

2006-03-21 06:55:28
Subject: reuse issue with hard disk as backup media
From: Chris <gc5 AT gmx DOT de>
To: amanda-users AT amanda DOT org
Date: Tue, 21 Mar 2006 12:48:35 +0100
hello there,

ive got some problems with amanda (2.4.5).
i use a hard disk with 250 gb space as backup media, no holding disk.

the backup cycle lasts 14 days, with 14 runs. each sunday there is a full backup ( ~ 90 GB each), the other 12 days incremental (~100 mb each). the backups are working execellent. but after 14 days, when the dumpcycle restarts, slot1 (where the first full backup is placed) is used again. thats okay, but the old backups on the tapes are not deleted, so there is insufficient space.

i want to have a tape cleared, before it is reused. how can i do that ?

amanda.conf:

org "testrun"
mailto "root@localhost"
tapedev "file:/usr/storage/amanda/testrun"
dumpuser "amanda"
tpchanger "chg-disk"


labelstr "^testrun-[0-9]+$"
tapetype HARDDISK
changerfile "/etc/amanda/testrun/changer"
inparallel 1

diskfile "disklist"
infofile "/var/lib/amanda/testrun/info"
indexdir "/var/lib/amanda/testrun/index"
logdir "/var/lib/amanda/testrun/log"

dumpcycle 7
runspercycle 7
tapecycle 14

define dumptype normal {
comment "Normal backup"
program "GNUTAR"
srvcompress
compress-best
index yes
strategy incronly
}

define tapetype HARDDISK {
comment "Dump to disk (vtape)"
length 230000 mbytes
}

define interface eth0 {
comment "100 Mbps ethernet"
use 80 Mbps
}

i hope someone can help me ;)

thanks

Chris


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