From owner-freebsd-questions Thu Mar 2 15: 4:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.utexas.edu (wb3-a.mail.utexas.edu [128.83.126.138]) by hub.freebsd.org (Postfix) with SMTP id C06EC37B620 for ; Thu, 2 Mar 2000 15:04:43 -0800 (PST) (envelope-from oscars@mail.utexas.edu) Received: (qmail 12954 invoked by uid 0); 2 Mar 2000 23:04:42 -0000 Received: from chepe.cc.utexas.edu (HELO chepe) (128.83.135.25) by umbs-smtp-3 with SMTP; 2 Mar 2000 23:04:42 -0000 Message-Id: <4.2.2.20000302165738.00ac3b90@mail.utexas.edu> X-Sender: oscars@mail.utexas.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Thu, 02 Mar 2000 17:02:27 -0600 To: freebsd-questions@FreeBSD.ORG From: Oscar Ricardo Silva Subject: How to restore from a tape using tar? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a computer running FreeBSD 3.4 with a scsi hard drive, cd and tape drive. I recently attempted to run a backup of the system with the command: tar -cvf /dev/st0 / which should've backed up the entire system. I was able to run: tar -tf /dev/st0 > /FullBackupTOC.txt and successfully created a table of contents for the tape. I now want to test whether I can properly restore files from this tape but I want to restore them to a different location than they were (so that I don't accidentally erase anything). I'm not sure what the syntax for tar would be to accomplish this. Any suggestions/ideas? Thanks, Oscar "Don't believe the hype" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message