PDA

View Full Version : Specific backup for archiving


hjavierin79
August 19th, 2008, 05:09 AM
Hi,

I've got several machines that are to be retired (in fact they have already been retired). We have done a final, complete backup (using tar, mysqldump, etc) which is stored in several files within the amanda backup server.

My goal is to put these files to a "retirement-specific" LTO2 tape so we can store "last backups" there, so that tape shouldn't be any of the tapes in the amanda rotation schema.

Can someone point me to the proper archival procedure in this case? I don't know if amanda can be used to do this or i should start looking in other direction.

Thanks in advance,
Javier.

ken
October 2nd, 2008, 04:46 PM
Assuming that the backups you're referring to are in the holding disk area, you can use amflush <config> <host> to flush the (presumably full) backups to tape. Then you can use amadmin <config> noreuse <tapelabel> to mark the tape you're wanting to use for long-term storage as not being available for re-use. You can always add more tapes (with new labels) to replace the "long-term storage tape".

If you've just managed to have tar/mysqldump/etc. archives of those machines, then you could create a temporary DLE that has the location of those files on the backup server, and force it to backup full using
amadmin <config> force <host> <dir> then run the backup, and then perform the above.

In the future, you can use the aforementioned amadmin command to mark the DLE for that machine to perform a final, full backup before decommissioning.