What I do at the end of each dump, I run a script that: sends me the contents of tapelist by mail rsync /etc/amanda (the config directory) rsycn /var/amanda (where I have all the logs, curinfo, indexes, etc.) sends me the result of amadmin <config> export by mail
I think I am pretty safe and could reconstruct my amanda server if anything happen. Olivier On Thu, Jun 5, 2014 at 12:12 AM, Debra S Baddorf <[email protected]> wrote: > Per Jean-Louis’ suggesting, I looked in oldlogs, and nothing had been moved > there. > > I restored the whole log directory from the day before (in a scratch area), > and compared things. > This gave me the complete line to put back into the tapelist file. > > Upon careful perusal of files, I decided to also restore the > curinfo/nodename/diskname/info > for each DLE on the removed tape (since I had the table of contents, and > knew which > DLEs were affected.) > The index/nodename/diskname/ files were not removed or affected. > > I’m doing a test restore (into a scratch area). Amanda DOES recognize that > the files > I asked for are on that tape, so I think it’s all good now! Restore looks > good too. > Yay! > > Deb Baddorf > Fermilab > > > On Jun 4, 2014, at 6:03 AM, Jean-Louis Martineau <[email protected]> wrote: > >> Debra, >> >> grep the label in logs/* and logs/oldlog/* >> If it is in logs/oldlog, mv it back to logs. >> Add the entry in the tapelist file, >> >> Jean-Louis >> >> On 06/04/2014 12:56 AM, Debra S Baddorf wrote: >>> I accidentally amrmtaped a tape today. The tape is still intact, and I >>> actually have a text file >>> of the contents of it (TOC file.) So I can use DD and get the files back >>> if I need them. >>> >>> But hey — I’m in charge of backup, doggonit — so what files can I restore >>> so amanda >>> will re-remember this tape? >>> >>> FWIW - it’s my monthly archive config, so it won’t be run again until this >>> Saturday. >>> (or later, if I have to delay it!) And my daily config should have the >>> needed files >>> to fix this. I think? >>> >>> Deb Baddorf >>> Fermilab >> > >
