bin/158363: partial restore problem in /sbin/restore

SATO Jun sato.june at
Tue Jun 28 02:10:11 UTC 2011

>Number:         158363
>Category:       bin
>Synopsis:       partial restore problem in /sbin/restore
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 28 02:10:11 UTC 2011
>Originator:     SATO Jun
>Release:        7.1
FreeBSD 7.1-STABLE #0: Mon Jan 26 17:43:26 J\st 2009 /usr/src/sys/amd64/compile/GENERIC amd64
Partial restoring using -i or -x option from multi volume backups is failed with 'tape is not dump tape'.

Dump multi volume and restore with -i or -x option.

--- tape.c~	2011-06-27 16:30:02.000000000 +0900
+++ tape.c	2011-06-28 10:08:36.000000000 +0900
@@ -425,7 +425,7 @@
 	volno = newvol;
+	FLUSHTAPEBUF(); numtrec = 0;
 	if (gethead(&tmpbuf) == FAIL) {
 		dprintf(stdout, "header read failed at %ld blocks\n", blksread);
 		fprintf(stderr, "tape is not dump tape\n");


More information about the freebsd-bugs mailing list