From owner-freebsd-questions Thu Oct 10 9:32:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09D1E37B401 for ; Thu, 10 Oct 2002 09:32:49 -0700 (PDT) Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34A4A43EB2 for ; Thu, 10 Oct 2002 09:32:48 -0700 (PDT) (envelope-from mark@cloud9.net) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id BEE4B3263C for ; Thu, 10 Oct 2002 12:32:39 -0400 (EDT) Date: Thu, 10 Oct 2002 12:32:39 -0400 (EDT) From: Mark Hennessy To: Subject: Proper usage of dump and restore when not using tapes Message-ID: <20021010122802.O54531-100000@earl-grey.cloud9.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have tried to use dump and restore without using a tape. I can dump successfully, but attempts to restore fail in interactive mode with an indexing issue (it keeps asking for the volume number to check and when I provide 1, it cannot find anything). backup.sh script: #!/bin/sh # dump to file on disk /sbin/dump -0u -f /backup/volume /dev/volume # compress file on disk /usr/bin/gzip /backup/volume restore.sh script: #!/bin/sh # uncompress, probably ok to use zcat instead of cat instead /usr/bin/gzip -d /backup/volume # restore interactive mode /bin/cat /backup/volume | /sbin/restore ivf - # recompress, ditto to above remark /usr/bin/gzip /backup/volume Any ideas? -- Mark P. Hennessy mark@cloud9.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message