-
dumpcycle int
-
Default: 10 days . The number of days in the backup cycle. Each disk will get a full backup at least this often. Setting this to zero tries to do a full backup each run.
Note
This parameter may also be set in a specific dumptype (see below). This value sets the default for all dumptype s so must appear in amanda.conf before any dumptype s are defined.
dumpcycle 备份周期的天数,每个备份项目都会有一次全备份在这个周期内,设置为0 可以每次都是全备份
-
Default: same as dumpcycle . The number of amdump runs in dumpcycle days. A value of 0 means the same value as dumpcycle . A value of -1 means guess the number of runs from the tapelist (5) file, which is the number of tapes used in the last dumpcycle days / runtapes .
runspercycle 一个dumpcycle一个备份周期里备份的次数
-
Default: 15 tapes . Typically tapes are used by Amanda in an ordered rotation. The tapecycle parameter defines the size of that rotation. This parameter must be be larger than the number of tapes used in a dumpcycle.
The number of tapes per dumpcycle is calculated by multiplying the number of amdump runs per dump cycle runspercycle (the number of amdump runs per dump cycle) and runtapes (the number of tapes used per run). Typically tapecycle is set to two or four times the tapes per dumpcycle.
amanda tapecycle 参数 磁带循环参数中的磁带数,这个参数必须大于一个dumpcycle使用的磁带数。 每个dumpcycle使用的磁带数=runspercycle×runtapes tapecycle 最好设置为2-4倍dumpcycle磁带数
Note
Amanda is commonly misconfigured with tapecycle equal to the number of tapes per dumpcycle . In this misconfiguration, amanda may erase a full dump before a new one is completed, the recovery is then impossible. tapecycle must be at least one tape larger than the number of tapes per dumpcycle.
注意: amanda经常被错误设置为 tapecycle=一个备份周期使用的磁带数, 这种错误配置,amanda会在生成一个新的全备份之前清除一个全备份,这样就无法恢复了,tapecycle必须比一个备份周期使用的磁带数至少多一个。
While Amanda is always willing to use a new tape in its rotation, it refuses to reuse a tape until at least 'tapecycle -1' number of other tapes have been used.
It is considered good administrative practice to set the tapecycle parameter slightly lower than the actual number of tapes in rotation. This allows the administrator to more easily cope with damaged or misplaced tapes or schedule adjustments that call for slight adjustments in the rotation order.
amanda每次使用一个新磁带,最佳实践:设置tapecycle参数比较实际循环的tapes少,
-
runtapes int
-
Default: 1 . The maximum number of tapes used in a single run. If a tape changer is not configured, this option is not used and should be commented out of the configuration file.
If a tape changer is configured, this may be set larger than one to let Amanda write to more than one tape.
Note that this is an upper bound on the number of tapes, and Amanda may use less.
Also note that as of this release, Amanda does not support true tape overflow. When it reaches the end of one tape, the backup image Amanda was processing starts over again on the next tape.
-
每次备份运行使用的磁带数,默认1 如果tabechanger未设置,则此参数与不要设置, 如果tape changer 设置了,着可以设置大于1 每次使用多于一个磁带,
-
runspercycle int
tapecycle int