Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 1998 21:30:28 -0800
From:      Manfred Antar <mantar@netcom.com>
To:        "Jon E. Mitchiner" <jon@minotaur.com>, "FreeBSD" <"freebsd-current@freebsd.org"@hub.freebsd.org>
Subject:   Re: FW: Restore/Dump broken?
Message-ID:  <199803260530.VAA03545@mantar.slip.netcom.com>
In-Reply-To: <199803260511.VAA14782@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:10 AM 3/26/98 -0500, Jon E. Mitchiner wrote:
>
>I have a suspicion that 'restore' is broken somehow as I have a new tape
>drive in our web server machine (SONY SDT-7000) and backups work without any
>problems.  The problem occurs when we try to restore files as we lost a file
>today, and bang, restore wouldn't work at all.  Below is a list of the
>commands I did to test restore on a new clean tape to make sure it's not
>something else:
>
>www# dump -0u -a -f /dev/rst0 /usr/local
>  DUMP: Date of this level 0 dump: Wed Mar 25 18:52:22 1998
>  DUMP: Date of last level 0 dump: the epoch
>  DUMP: Dumping /dev/rsd1s1e (/usr/local) to /dev/rst0
>  DUMP: mapping (Pass I) [regular files]
>  DUMP: mapping (Pass II) [directories]
>  DUMP: estimated 84334 tape blocks.
>  DUMP: dumping (Pass III) [directories]
>  DUMP: dumping (Pass IV) [regular files]
>  DUMP: 72.94% done, finished in 0:01
>  DUMP: DUMP: 84372 tape blocks on 1 volumes(s)
>  DUMP: finished in 389 seconds, throughput 216 KBytes/sec
>  DUMP: level 0 dump on Wed Mar 25 18:52:22 1998
>  DUMP: Closing /dev/rst0
>  DUMP: DUMP IS DONE
>www# mt -f /dev/rst0 rewind
>www# restore -f /dev/rst0 -i
>tape read error: No such file or directory
>www#
>
>So the last error confuses me.  I thought perhaps there was something broken
>with the tape drive -- e.g. it not being able to read or something so I went
>with tar and was able to write and read back from the tape drive which leads
>me to determine 'restore' is not working, atleast not from the current
>sources dated around 3/5/98 I believe.
>
>Is there a known problem/workaround for this?
>


it may be your command
try man restore
restore ifsv /dev/rst0 1 works for me  (interactive)
also restore xfsv /dev/rst0 1 works   (the whole thing)
I have 3 file systems on one tape.
1 is for /
2 /var
3 /usr

 
|=======================|
|         mantar@netcom.com     |
|         Ph. (415) 681-6235         |
|=======================| 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803260530.VAA03545>