Mariel Luciano wrote:

I did try that but unfortunately here's what I get:

[EMAIL PROTECTED]:/ > amrestore -p /amandafs/20030916/ospi-gen2._amandafs.0 |
restore -ivbf 2 -
amrestore:   0: restoring ospi-gen2._amandafs.20030916.0
bash: restore: command not found

Of course the example here assumes that you already know some basic things about Unix.

This command works if you did you backup with dump/restore for the
specified filesystem.  Because each filesystem type (e2fs, ufs, xfs...)
has a specialized program with a different name you'll have to use that:
dump/restore for ext[23] (note: dumpe2fs is not a backup program!!!),
ufsdump/ufsrestore, xfsdump/xfsrestore...).

BUT, I guess that you did use GNUTAR for your backup (easily guessed,
because dump for ext2 is not installed by default on many systems, (it
used to be without maintainer, and had bugs -- it's again much more reliable now, but not yet included in many distro's).


If you used gnutar, than you have to read your backup with gnutar too, simple as that. What is your gnutar named like? Let's assume "gtar", then the command becomes:

amrestore -p /amandafs/20030916/ospi-gen2._amandafs.0 | gtar -tvf -

Much easier, use the amrecover command (very handy if you have
"index yes" in your dumptype):

  amrecover
  > sethost ospi-gen2
  > setdisk amandafs
  > setdate 2003-09-16
  > ls
  ...
  > help

PS. Did you make a backup of /amandafs with amanda? It seems that /amandafs is your holdingdisk, and making a backup of itself onto itself
is, let's say, dangerous. Normally you would add the parameter "holding-disk" to the partition that contains your holdingdisk, so that
amanda does this particular disk directly to tape. But you don't have
a tape, so amanda would complain and backup nothing.
Don't do this (or exclude the directory with the holdingdisk
files at least).


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  [EMAIL PROTECTED]
***********************************************************************
* 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, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************




Reply via email to