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