PDA

View Full Version : ok, I am done with amanda



msilva
June 18th, 2007, 02:09 PM
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 zero?

pyeatman
May 7th, 2010, 11:18 AM
You could use amrmtape to remove any tapes you have already written to and then forcibly relabel the same tapes. This first step tells Amanda to forget about the data that was on these tapes. The second step sets them up to be reused.

You could also use amadmin with the "delete" option if you want to delete any DLEs that you used only during testing.

Now, tell Amanda that you want to start with full backups of everything again

$ amadmin <config> force '*'

If using a changer, you can run reset it to the first configured slot

$ amtape <config> reset

Now, start running your backups!

Paul