Jens Bech Madsen <[EMAIL PROTECTED]> writes:

> I have to do a complete restore of a host that has many partitions
> (~60). My dump cycle is 20 days, so if I use amrecover, which only
> allows one partition per extraction, I have to change tapes a lot of
> times.
> 
> What I would like to do is going through all the tapes in the last
> dump cycle one by one and extract the relevant partitions from each
> tape, so I only have to change tapes 20 times.
> 
> Does anyone have a good solution for this problem?

Jens,

the non-interactive amrestore programm allows for regular expressions
for partitions to restore. Start with the oldest of all 20 tapes and
extract all partitions to the state 20 days ago. Then use the next
tape to update to 19 days ago etc...

Your command line should be something like 20 times "amrestore
/dev/ntape hostname", but requires a running amanda client on the
crashed box.

Using dd to extract whole tapes isn't that cumbersome if your tapes
hold only data from that host. Write a litte skript that "dd's" in a
while loop. Requiring all data sometimes makes live easier.
      
HTH,

Johannes Niess

P.S: A great chance to move from partitions to using quotas...

Reply via email to