On Monday 22 March 2010, Chris Hoogendyk wrote:
>Gene Heskett wrote:
>> On Sunday 21 March 2010, Steve Wray wrote:
>>> Hi there
>>>
>>> I'm preparing some documentation on our backup/restore process.
>>>
>>> Some time ago I linked to amanda documentation on how to extract from
>>> tapes without using any amanda tools or indexes.
>>>
>>> This link was:
>>>
>>> http://www.amanda.org/docs/using.html#restoring_without_amanda
>>>
>>> and is now broken.
>>>
>>> This isn't quite what I'm after as it uses amrestore:
>>>
>>> http://wiki.zmanda.com/index.php/How_To:Recover_Lost_Amanda_Configuratio
>>>n
>>>
>>>
>>> Can anyone point me at the current correct link please?
>>>
>>> Thanks!
>>
>> cd to /tmp, then dd the first block of the tape to std out.  You will see
>> a command line that will recover that file to /tmp.  Repeat till out of
>> tape. I keep the amanda printouts, so I know which tape has the last
>> level0 backup of the amanda stuff, and pull that out first.  It will
>> probably be 3 or 4 tapes to get it all, but once you've pulled the
>> config, then get the indexes & put both back where they go.  Next get the
>> directory you built amanda in, probably /home and copy that back.  cd to
>> /home/amanda (if amanda is the user that built and installed it, and do
>> another install as root.
>>
>> That ought to get you enough to run amrecover at which point load it up
>> with the full monty and stand by to give it the tapes it asks for.
>
>Or, you can be a bit more preemptive.
>
>I have a script that runs after the Amanda backup is done and copies all
>the Amanda home directory to another server. This includes all the
>configuration and indexes. You can do this with just about any mechanism
>you're comfortable with -- cpio, tar, scp, rsync, ... whatever. Each of
>my Amanda servers sends everything over to another Amanda server. Sort
>of a round robin. I use a script with a combination of find and cpio to
>achieve a sequence of full and incremental backups that are kept for a
> week.
>
>Without something like the above, you end up being a backup behind on
>things like the indexes. Backups of the Amanda home directory that are
>on tape can't include the latest changes to the Amanda indexes made as
>backups that go on that tape are being collected.
>
>I've also tried just reading the Amanda tapes directly. It works even if
>it is a little tedious. In my case the sequence of commands involves
>ufsrestore, but that too is documented on the tape itself in the first
>record.
>
Exactly why I wrote GenesAmandaHelper, Chris.  So we're both on the same 
wavelength there.  So we both have last nights indexes saved and usable.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

It's union rules. There's nothing we can do about it. Sorry.

Reply via email to