免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3070 | 回复: 4

linux下有誰用過amanda備份磁帶機 [复制链接]

论坛徽章:
0
发表于 2008-01-30 15:32 |显示全部楼层
30可用积分
我只備份一次,我的磁帶有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.

论坛徽章:
0
发表于 2008-02-02 11:17 |显示全部楼层
頂一下,哪位大哥指點下我

论坛徽章:
0
发表于 2008-02-02 11:43 |显示全部楼层
关注中,没用过

论坛徽章:
0
发表于 2008-02-12 15:26 |显示全部楼层
再頂一下

论坛徽章:
0
发表于 2008-02-22 12:11 |显示全部楼层
問題如果解決了,現金回報
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP