Am 05.08.2014 um 11:34 schrieb Olivier Nicole: > Stefan, > > I know it doies not answer your question, but after each run of amdump, > I run a script that rsync all amanda files/config/indexes/etc. to a > different server. > > I also keep a rotation of 10 backward copies of tapelist. > > Plus the whole information is being emailed to myself (with automatic > forward of my email to the email backup machine and my gmail account). > > That way, I am pretty sure I won't loose anything :) > > The script is in http://www.cs.ait.ac.th/laboratory/amanda/amdatabase > > I recently faced a mangled tapelist, but luckily, I only had to > reconstruct the 4 ou 5 last days. That is when I added the rotation > copied of tapelist.
Thanks for the script, I will have a look ... For now I helped myself by grepping the logs in /var/tmp/amanda ... and checking which tape with which datestamp is the current oldest one ... I include /etc anyway (and sometimes /etc/amanda with always-full), but currently it seems I don't have a non-corrupted version ... got to dig further. Ironically I ruined the tapelist when I committed the edited amanda.conf and disklist (new DLEs added ...) to a separate git-branch ... tapelist was in .gitignore and somehow this (I!) screwed things up. Always learning, failing, learning ... Stefan
