RE: Need help restoring: -p doesn't seem to work

2006-07-26 Thread Joshua Baker-LePain
On Wed, 26 Jul 2006 at 8:24am, Sean Noonan wrote What does mt stat say before you run amrestore? Is the tape positioned mt start gives an error. start doesn't seem to be a valid command for ^ Erm, start != stat. -- Joshua Baker-LePain Department of

Re: Need help restoring: -p doesn't seem to work

2006-07-26 Thread Jon LaBadie
On Wed, Jul 26, 2006 at 08:24:19AM -0700, Sean Noonan wrote: snip That looks like amrestore isn't finding the dump file on the tape and is running off the end of tape. I'm puzzled by the missing file header block. That implies that the tape isn't positioned at the start of a

RE: Need help restoring: -p doesn't seem to work

2006-07-26 Thread Sean Noonan
freebee# amrestore -p /dev/nsa0 freebee aacd0s1f | gzip -d | restore - ivf - Verify tape and initialize maps amrestore: missing file header block amrestore: 2: skipping freebee.aacd0s1e.20060721.0 amrestore: 10: reached end of information gzip: stdin: unexpected end of file

Re: Need help restoring: -p doesn't seem to work

2006-07-26 Thread Kevin Till
Sean Noonan wrote: freebee# amrestore -p /dev/nsa0 freebee aacd0s1f | gzip -d | restore - ivf - Verify tape and initialize maps amrestore: missing file header block amrestore: 2: skipping freebee.aacd0s1e.20060721.0 amrestore: 10: reached end of information gzip: stdin: unexpected end of

RE: Need help restoring: -p doesn't seem to work

2006-07-26 Thread Sean Noonan
What does mt stat say before you run amrestore? Is the tape positioned mt start gives an error. start doesn't seem to be a valid command for ^ Erm, start != stat. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University

SOLVED! (WAS: RE: Need help restoring: -p doesn't seem to work)

2006-07-26 Thread Sean Noonan
responded! --Sean Noonan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean Noonan Sent: Wednesday, July 26, 2006 10:23 AM To: amanda-users@amanda.org Cc: 'Paul Haldane'; 'Joshua Baker-LePain' Subject: RE: Need help restoring: -p doesn't seem to work

Need help restoring: -p doesn't seem to work

2006-07-25 Thread Sean Noonan
Hello, Hoping someone can help me with the magical incarnation to restore files. Box is running FreeBSD 5.4-STABLE. Amanda is v2.5.0p2,1 installed from the ports collection. Server name is freebee. Disk name is aacd0s1f. Tape device is /dev/nsa0 (which is a LTO-2 drive). When I try to

Re: Need help restoring: -p doesn't seem to work

2006-07-25 Thread Jon LaBadie
On Tue, Jul 25, 2006 at 12:15:55PM -0700, Sean Noonan wrote: Hello, Hoping someone can help me with the magical incarnation to restore files. Box is running FreeBSD 5.4-STABLE. Amanda is v2.5.0p2,1 installed from the ports collection. Server name is freebee. Disk name is aacd0s1f. Tape

RE: Need help restoring: -p doesn't seem to work

2006-07-25 Thread Sean Noonan
snip Suggestions anyone? Use the -h option of amrestore to confirm if it was compressed, probably with gzip. If that is the case you will have to put a gzip -d command in the pipeline between amrestore and restore. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing

RE: Need help restoring: -p doesn't seem to work

2006-07-25 Thread Paul Haldane
-Original Message- From: Sean Noonan Sent: 25 July 2006 22:45 snip Use the -h option of amrestore to confirm if it was compressed, probably with gzip. If that is the case you will have to put a gzip -d command in the pipeline between amrestore and restore. My

Re: Need help restoring: -p doesn't seem to work

2006-07-25 Thread Olivier Nicole
freebee# amrestore -p /dev/nsa0 freebee aacd0s1f | gzip -d | restore -ivf - Verify tape and initialize maps amrestore: missing file header block amrestore: 2: skipping freebee.aacd0s1e.20060721.0 amrestore: 10: reached end of information gzip: stdin: unexpected end of file End-of-tape

Re: Need help restoring: -p doesn't seem to work

2006-07-25 Thread Jon LaBadie
On Wed, Jul 26, 2006 at 09:35:13AM +0700, Olivier Nicole wrote: freebee# amrestore -p /dev/nsa0 freebee aacd0s1f | gzip -d | restore -ivf - Verify tape and initialize maps amrestore: missing file header block amrestore: 2: skipping freebee.aacd0s1e.20060721.0 amrestore: 10: reached