Restoring from virtual tapes

2007-07-23 Thread up

I've restored amanda file systems in the past from tape using amrestore.
However, I switched from tapes to vtapes several months ago and am trying
to restore a file system.

According to the FAQs and posts I saw searching various archives, one
wants to use amrecover intead of amrestore for vtapes.

Trying to run as user amanda, I am told it has to be run as root.  When I
run it as root, I get this error:

su-2.05b# amrecover -C colos
AMRECOVER Version 2.5.0p2. Contacting server on ns1.pil.net ...
amrecover: cannot connect to server.mydomain.net: Connection refused

I then add the user root to ~amanda/.amandahosts, but it doesn't make a
difference:

(Partial) cat ~amanda/.amandahosts

localhost.mydomain.net amanda
server.mydomain.net amanda
server.mydomain.net root
localhost.mydomain.net root

I also tried adding to this config's amanda.conf the following:

amrecover_changer file:/path/to/tapedev

And it didn't help.  What am I missing?

TIA,

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
=






Re: Restoring from virtual tapes

2007-07-23 Thread Jean-Louis Martineau


What's in the amrecover.*.debug file?
Any amandad.*.debug file on ns1.pil.net?
What is your xinetd configure on ns1.pil.net for the amandaidx and 
amidxtaped services?

Check your system log for firewall

Jean-Louis


[EMAIL PROTECTED] wrote:

I've restored amanda file systems in the past from tape using amrestore.
However, I switched from tapes to vtapes several months ago and am trying
to restore a file system.

According to the FAQs and posts I saw searching various archives, one
wants to use amrecover intead of amrestore for vtapes.

Trying to run as user amanda, I am told it has to be run as root.  When I
run it as root, I get this error:

su-2.05b# amrecover -C colos
AMRECOVER Version 2.5.0p2. Contacting server on ns1.pil.net ...
amrecover: cannot connect to server.mydomain.net: Connection refused

I then add the user root to ~amanda/.amandahosts, but it doesn't make a
difference:

(Partial) cat ~amanda/.amandahosts

localhost.mydomain.net amanda
server.mydomain.net amanda
server.mydomain.net root
localhost.mydomain.net root

I also tried adding to this config's amanda.conf the following:

amrecover_changer file:/path/to/tapedev

And it didn't help.  What am I missing?

TIA,

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
=




  




Re: Restoring from virtual tapes

2007-07-23 Thread Jon LaBadie
On Mon, Jul 23, 2007 at 11:19:54AM -0400, [EMAIL PROTECTED] wrote:
 
 I've restored amanda file systems in the past from tape using amrestore.
 However, I switched from tapes to vtapes several months ago and am trying
 to restore a file system.
 
 According to the FAQs and posts I saw searching various archives, one
 wants to use amrecover intead of amrestore for vtapes.
 

Misconception.  Either amrestore or amrecover can be used with
real or virtual tapes.  Typically amrecover is used for an
interactive recovery session where a limited number of specific
files or directories will be recovered.  amrestore is more
suited to entire DLE restoration.

The docs you were reading were probably focused on a common
reason for switching to vtapes, or using vtapes and real tapes
in combination.  Real tapes are often used for offsite/archive
storage.  Vtapes, with their high performance, random access,
are often the choice for I just deleted a file type recovery.

jl
-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: Restoring from virtual tapes

2007-07-23 Thread up

Um, never mind...I was able to use amrestore with no problems, and for
what I was doing, it was probably better than amrecover anyway.

On Mon, 23 Jul 2007 [EMAIL PROTECTED] wrote:


 OMG, I had those two commented out, because at one time, the amanda server
 was a client only.  It's now the server, and it's been backing up fine
 with just amandad in there.  I just uncommented restarted inetd, but now I
 get the following:

 AMRECOVER Version 2.5.0p2. Contacting server on ns1.pil.net ...
 220 ns1 AMANDA index server (2.5.0p2) ready.
 200 Access OK
 Setting restore date to today (2007-07-23)
 200 Working date set to 2007-07-23.
 501 Index directory /var/adm/amanda/colos/index does not exist

 I assume this is because amandixd never ran on that config.  The question
 now is, can this FS be restored, and if nos, how?

 Thanks!

 On Mon, 23 Jul 2007, Jean-Louis Martineau wrote:

 
  What is your xinetd configure on ns1.pil.net for the amandaidx and
  amidxtaped services?
 
  Jean-Louis
 
 
  [EMAIL PROTECTED] wrote:
   I've restored amanda file systems in the past from tape using amrestore.
   However, I switched from tapes to vtapes several months ago and am trying
   to restore a file system.
  
   According to the FAQs and posts I saw searching various archives, one
   wants to use amrecover intead of amrestore for vtapes.
  
   Trying to run as user amanda, I am told it has to be run as root.  When I
   run it as root, I get this error:
  
   su-2.05b# amrecover -C colos
   AMRECOVER Version 2.5.0p2. Contacting server on ns1.pil.net ...
   amrecover: cannot connect to server.mydomain.net: Connection refused
  
   I then add the user root to ~amanda/.amandahosts, but it doesn't make a
   difference:
  
   (Partial) cat ~amanda/.amandahosts
  
   localhost.mydomain.net amanda
   server.mydomain.net amanda
   server.mydomain.net root
   localhost.mydomain.net root
  
   I also tried adding to this config's amanda.conf the following:
  
   amrecover_changer file:/path/to/tapedev
  
   And it didn't help.  What am I missing?
  
   TIA,
  
   James Smallacombe   PlantageNet, Inc. CEO and Janitor
   [EMAIL PROTECTED] 
   http://3.am
   =
  
  
  
  
  
 
 

 James Smallacombe   PlantageNet, Inc. CEO and Janitor
 [EMAIL PROTECTED] 
 http://3.am
 =



James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
=