Amanda-Users

amrestore

2003-03-20 02:49:16
Subject: amrestore
From: "Madhvi Gokool" <madhvin AT yahoo DOT com>
To: <amanda-users AT amanda DOT org>
Date: Thu, 20 Mar 2003 10:31:12 +0400
Hello
I am tetsing the different restore options that are available.  I have
started with the ones documented in amanda package.
Could anyone explain the results below: -

 a) From the backup server , I ran command below .  The backup image gets
stored in the current working directory.
 [amanda@backup restoredir]$ amrestore /dev/st0 osama /



  1.. amrestore:   0: skipping start of tape: date 20030318 label DailySet15
  2.. amrestore:   1: skipping osama.hda5.20030318.0
  3.. amrestore:   2: skipping osama.hda1.20030318.0
  4.. amrestore:   3: restoring osama._.20030318.0
  5.. amrestore:   4: skipping start of tape: date 20030318 label DailySet15
  6.. amrestore:   5: skipping osama.hda5.20030318.0
  7.. amrestore:   6: skipping osama.hda1.20030318.0
  8.. amrestore:   7: restoring osama._.20030318.0
  9.. amrestore:   8: skipping start of tape: date 20030318 label DailySet15
  10.. amrestore:   9: skipping osama.hda5.20030318.0
  11.. amrestore:  10: skipping osama.hda1.20030318.0
  12.. amrestore:  11: restoring osama._.20030318.0
  13.. amrestore:  12: skipping start of tape: date 20030318 label
DailySet15
  14.. amrestore:  13: skipping osama.hda5.20030318.0
  15.. amrestore:  14: skipping osama.hda1.20030318.0
  16.. amrestore:  15: restoring osama._.20030318.0
  17.. amrestore:  17: skipping osama.hda5.20030318.0
  18.. amrestore:  18: skipping osama.hda1.20030318.0
  19.. amrestore:  19: restoring osama._.20030318.0
The above carried on until I manually stopped the operation.  Please note
that the size of the backup image increased as well.

b)  From the client machine , I ran the following command  :-
rsh -n -l amanda  backup.terrasky.mu /usr/local/sbin/amrestore -p /dev/st0
osama
 / | restore -iv -b 2 -f -


and I could restore some files chosen at random.



If I modify the command above as follows : -

rsh -n -l amanda  backup.terrasky.mu /usr/local/sbin/amrestore  /dev/nst0
osama
/

the backup image is not stored in the current working directory.



thanks in advance for comments/explanations.



Madhvi



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