hai00882008-01-30 15:53
我只備份一次,我的磁帶有400G, 備份第二次,磁帶就彈出來,我的tapelist里的內容 20080130151855 DailySet1-01 reuse
是不是和我的anmanda.conf的chg-manua(更換磁帶的腳本)l這個腳本有關係,
-sh-3.00$ amcheck DailySet1
Amanda Tape Server Host Check
-----------------------------
Holding disk /backup/amanda/DailySet1: 156602536 KB disk space available, using 153456808 KB
slot 1: read label `DailySet1-01', date `20080130151855'
cannot overwrite active tape DailySet1-01
Insert tape into slot 2 and press returnn
amanda.conf的部分配置runtapes 1 # number of tapes to be used in a single run of amdump
tpchanger "chg-manual" # the tape-changer glue script
tapedev "/dev/nst0" # the no-rewind tape device to be used
#rawtapedev "/dev/null" # the raw device to be used (ftape only)
changerfile "/etc/amanda/DailySet1/changer"
#changerfile "/etc/amanda/DailySet1/changer-status"
#changerfile "/etc/amanda/DailySet1/changer.conf"
changerdev "/dev/null"
# If you want Amanda to automatically label any non-Amanda tapes it
# encounters, uncomment the line below. Note that this will ERASE any
# non-Amanda tapes you may have, and may also ERASE any near-failing tapes.
# Use with caution.
## label_new_tapes "DailySet1-%%%"
maxdumpsize -1 # Maximum number of bytes the planner will schedule
# for a run (default: runtapes * tape_length).
tapetype ibm # what kind of tape it is (see tapetypes below)
labelstr "^DailySet1-[0-9][0-9]*$" # label constraint regex: all tapes must match
amrecover_do_fsf yes # amrecover will call amrestore with the
# -f flag for faster positioning of the tape.
amrecover_check_label yes # amrecover will call amrestore with the
# -l flag to check the label.
amrecover_changer "/dev/null" # amrecover will use the changer if you restore
# from this device.