Amanda-Users

Re: Correct arguments to gnutar for restore

2006-04-27 07:55:36
Subject: Re: Correct arguments to gnutar for restore
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Olivier Nicole <on AT cs.ait.ac DOT th>
Date: Thu, 27 Apr 2006 12:53:05 +0200
On 2006-04-27 12:39, Olivier Nicole wrote:
Hi,

What are the correct arguments to pass to gnutar when it is used with
an amrestore?

amrestore -p /dev/nsa0 machine disk | gtar xf??? -

These are the flags that amrecover uses to be able to restore
incremental backups (= erase files too!!!!!):

  ...| gtar --numeric-owner -xpGvf -  [files-to-restore-defaults-to-all]

Note that the "-G" flag can result in files being ERASED (those
that did not exist when the backup was made).  You may omit it.

The "--numeric-owner" was not added in 2.4.x or earlier.

http://wiki.zmanda.com/index.php/Restoring_files#Using_amrestore

Of course you may add flags to tune gtar to your particular need
in for the restore case you have.




--
Paul Bijnens, xplanation Technology Services        Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************


<Prev in Thread] Current Thread [Next in Thread>