如何移植linux系统,一次Linux系统移植经验分享

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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值