Amanda-Users

Re: Duplicating backup

2006-10-03 17:57:06
Subject: Re: Duplicating backup
From: Steven Kurylo <steven.kurylo AT vcom DOT com>
To: amanda-users AT amanda DOT org
Date: Tue, 03 Oct 2006 14:45:10 -0700
>
>> Is there anyway I can take the weekly backup which just finished and copy it 
>> to the monthly tapes?
>>
>> Is there a better solution?
>>     
>
> It has been suggested as an excellent enhancement to amanda.
> No one has yet taken up the task of implementing it.
>   
I don't know if this list will accept the attachments, but I've attached
the first version.

Its a bash script which currently only handles cloning single tape
backups.  Its tested on Ubuntu and Amanada 2.4.5p1.

You need to edit the first few variables at the top to reflect your
installation.  Then run the the script with the date of the backup you
want to clone as its argument.

It will use amrestore to get the backups to your holding disk, then
amflush to write them to the new tape.  Then the log files are copied
and modified as appropriate.

I'll be testing it for a while yet, then adding support for multiple tapes.

If anyone has some feedback that would be greatly appreciated.


Attachment: clone.sh.bz2
Description: application/bzip

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Duplicating backup, Steven Kurylo <=