From owner-freebsd-questions@FreeBSD.ORG Mon May 16 18:38:32 2005 Return-Path: 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 192D016A4D0 for ; Mon, 16 May 2005 18:38:32 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FB3B43DB8 for ; Mon, 16 May 2005 18:38:31 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 771DF512CB; Mon, 16 May 2005 11:38:28 -0700 (PDT) Date: Mon, 16 May 2005 11:38:28 -0700 From: Kris Kennaway To: Viren Patel Message-ID: <20050516183828.GB50140@xor.obsecurity.org> References: <55383.146.6.178.5.1116261378.squirrel@mail.cm.utexas.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cmJC7u66zC7hs+87" Content-Disposition: inline In-Reply-To: <55383.146.6.178.5.1116261378.squirrel@mail.cm.utexas.edu> User-Agent: Mutt/1.4.2.1i cc: questions@freebsd.org Subject: Re: Transferring dump file to tape? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 18:38:32 -0000 --cmJC7u66zC7hs+87 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 16, 2005 at 11:36:18AM -0500, Viren Patel wrote: > Hello. I am using 'dump' to backup client filesystems to a > disk file on an NFS mounted partition, e.g. >=20 > dump -0aLu -f /bk/var-20050516 /var >=20 > Now I'd like to take the backup file (var-200500516) and > move it to tape (on the NFS server). However I'd like the > tape to have the data just as if it had been created > directly by 'dump', e.g. >=20 > dump -0aLu -f /dev/nsa0 /var >=20 > Any way to do this? I could use rdump/rmt to backup > directly to the remote tape, but I am doing it this way to > do fast disk-based backups during night and move to slower > tapes during day. For normal restores I can use NFS-based > files but have tapes for single-user-mode type restores. > Thanks. You can use dd to write a file to a device (e.g. tape). Kris --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCiOikWry0BWjoQKURAkNkAKDXKlqPkDfOJAFbVSJ6bQFmvHmwqgCeIDAI lgiCpsKBlzTm2SUeBARc7ko= =fgmJ -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87--