Date: Wed, 27 Aug 2008 11:04:29 GMT From: Matthias Apitz <guru@unixarea.de> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/126882: dump(8) ok, but restore(8) via -P and SSH failes Message-ID: <200808271104.m7RB4Tdv023983@www.freebsd.org> Resent-Message-ID: <200808271110.m7RBA3eV018962@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 126882 >Category: misc >Synopsis: dump(8) ok, but restore(8) via -P and SSH failes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 27 11:10:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Matthias Apitz >Release: FreeBSD 7.0-RELEASE >Organization: >Environment: FreeBSD rebelion.Sisis.de 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Some days ago I have done a dump of my /usr file system with: # dump -0auL -P "ssh guru@albatros 'gzip -c > dumpsRebelion/usr.dmp.gz'" /usr the DUMP ended fine with no errors; today I try to reload certain directory with: $ restore -xv -P "ssh guru@albatros 'gzip -dc dumpsRebelion/usr.dmp.gz'" ./home/guru/myThings/Espanol/diario2008 and it says: Verify tape and initialize maps Tape block size is 16 Header with wrong dumpdate. Dump date: Mon Aug 25 09:56:58 2008 Dumped from: the epoch Level 0 dump of /usr on rebelion.Sisis.de:/dev/ad4s1f Label: none Extract directories from tape Initialize symbol table. Make node ./home Make node ./home/guru Make node ./home/guru/myThings Make node ./home/guru/myThings/Espanol Make node ./home/guru/myThings/Espanol/diario2008 Make node ./home/guru/myThings/Espanol/diario2008/enanitos Make node ./home/guru/myThings/Espanol/diario2008/imagenes Make node ./home/guru/myThings/Espanol/diario2008/CVS Extract requested files You have not read any tapes yet. If you are extracting just a few files, start with the last volume and work towards the first; restore can quickly skip tapes that have no further files to extract. Otherwise, begin with volume 1. Specify next volume #: 1 partial block read: 16128 should be 16384 partial block read: 256 should be 16384 partial block read: 16128 should be 16384 unknown tape header type 6697331 abort? [yn] the DUMP itself seems to be OK because this works: ssh guru@albatros 'cat dumpsRebelion/usr.dmp.gz' | gzip -dc | restore -xv -f - ./home/guru/myThings/Espanol/diario2008 the problem seems to be -P related >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808271104.m7RB4Tdv023983>