Special:Badtitle/NS100:Ok, I'm done with testing Amanda, now I want to put it in production. How can I reset its databases so as to start from scratch?

From wiki.zmanda.com
Revision as of 16:43, 11 March 2008 by Acorn (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Ok, I'm done with testing Amanda, now I want to put it in production. How can I reset its databases so as to start from scratch?

First, remove the `curinfo' database. By default, it is a directory, but, if you have selected any other database format (don't, they're deprecated), they may be files with extensions such as .dir and .pag.

Then, remove any log files from the log directory: log.<TIMESTAMP>.<count> and amdump.<count>. Finally, empty (do not delete!) the tapelist file, stored in the directory that contains amanda.conf, unless amanda.conf specifies otherwise. Depending on the tape changer you have selected, you may also want to reset its state file.