Amanda: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 The Open Source Backup Wiki (Amanda, MySQL Backup, BackupPC)

Jump to: navigation, 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.

Personal tools