One of the most worrisome things for me about Amanda is that the amdump will always use a new tape. An early test on the dangers inherent in this (as amdump also loops around your set of vtapes) was this:
for i in `seq 12` #I have only 10 tapes
sudo -u backup amdump DailySet1
The result was as I feared: my full backup was over written by an incremental one. That sucks. However as I understood Amanda better I realized that the above is not a valid test. Amanada’s scheduler takes into account a complex relationship between dates, scheduling, the dumpcycle, runspercycle, and tapes that is still a bit weird for me but not indecipherable.
In your amanda.conf, two variables control important aspects of the scheduler. dumpcycle is the max number of days between full backups and runspercycle is the number of times that amdump will be run during that cycle. So if you want a full backup every week but nightly incrementals dumpcycle = 7 and runspercycle = 7 and a midnight crontab to run amdumpcycle. If you wanted incremental backups every 12 hours and a full backup every week you’d set dumpcycle = 7 and runspercycle = 14 and a crontab to run amdump every 12 hours. By default the harddrive template we used will only create 10 vtapes. Since Amanda will always want to use a different tape for each backup, running more amdump more often than you promised in runspercycle and a greater number of times than you have vtapes will cause overwrites.
For a system that wants you trust its smart scheduler this seems like pretty dumb behavior.