Amanda-Users

Re: Backing up sub directories and interactive restores

2006-05-04 06:23:45
Subject: Re: Backing up sub directories and interactive restores
From: Olivier Nicole <on AT cs.ait.ac DOT th>
To: john.clement AT readingroom DOT com
Date: Thu, 4 May 2006 17:21:29 +0700 (ICT)
John,

> define dumptype comp-root-tar {
>     root-tar

We would need to see what is in the dumptype comp-root-tar, but from
the name, I would guess that the dump is made using gtar, so to
restore you should also use gtar, not retore.

amrestore -p /dev/nst0 host /filesystem | tar --numeric-owner -xpGvf - 
what_you_want_to_restore

amrestore will extract the back-up for the full /filesystem and tar
will only extract what_you_want_to_restore.

You have to see the syntax of gtar about the right syntax for
what_you_want_to_restore.


> Which gives a basic shell on the tape so you can restore individual
> items.

My understanding is that is amrecover comand, not amrestore.

Best regards,

Olivier