From owner-freebsd-scsi Sun Jun 23 23:29:43 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA27631 for freebsd-scsi-outgoing; Sun, 23 Jun 1996 23:29:43 -0700 (PDT) Received: from hslrswi.hasler.ascom.ch (hslrswi.hasler.ascom.ch [139.79.129.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA27616 for ; Sun, 23 Jun 1996 23:29:18 -0700 (PDT) Received: from autelca.ascom.ch by hslrswi.hasler.ascom.ch (8.7.1/6.33) id IAA21028; Mon, 24 Jun 1996 08:26:03 +0200 (MET DST) Received: from case2.autelca.ascom.ch by autelca.ascom.ch (4.1/SMI-4.1) id AA06660; Mon, 24 Jun 96 08:26:01 +0200 Received: from case2 (localhost.autelca.ascom.ch) by case2.autelca.ascom.ch (4.1/SMI-4.1) id AA27685; Mon, 24 Jun 96 08:25:58 +0200 Message-Id: <31CE34F6.794BDF32@autelca.ascom.ch> Date: Mon, 24 Jun 1996 08:25:58 +0200 From: Norbert Bladt Organization: Ascom Autelca AG, Switzerland X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3 sun4m) Mime-Version: 1.0 To: gwk@cray.com Cc: gilles.tschopp@aletsch.esis.vsnet.ch, scsi@freebsd.org Subject: Re: How to use Syquest EZ-135 as backup drive ? References: <199606201626.SAA05312@racer.dkrz.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Georg-W. Koltermann wrote: > > >>>>> "Gilles" == Gilles Tschopp writes: > Gilles> Hello, I'm an beginner of the Unix world. I would like to > Gilles> know how to manage backup of my FreeBSD system with the > Gilles> TAR command. I have a Syquest EZ-135 plugged on the SCSI > Gilles> subsystem. How to do ? > Gilles> > Gilles> A lot of thanks. > Gilles> > Gilles> Gilles Tschopp. > Gilles> ******************************************* Gilles > Gilles> Tschopp, Informaticien de gestion ES > Gilles> gilles.tschopp@esis.vsnet.ch http://icare.itech.ch > Gilles> http://esis.vsnet.ch http://www.vsnet.ch > Gilles> ******************************************* > Gilles> > Gilles> > > Try > cd /someplace This is OK. > tar cvfb /dev/rst0 126 somefiles This is a bad idea and a wrong answer, too. I think that the EZ-135 is not a tape drive and therefore it is not detected as "rst0" ! Instead it will be some sort of harddisk. Now, the problem is, giving a real step-by-step instruction for a harddisk you don't know the name of, i.e. I can guess that it won't be sd0, but what ? Giving the wrong answer here will destroy the ifnormation on any other disk. OK. Now to my answer: Because the EZ-135 is not a tape drive, tar (Tape ARchive) might not be a good idea to use. Why not just copy the files from your harddisk to this removable disk ? As far as I know, there is an "-r" option to the copy command to do the copy recursively, right ? This could be done if you want to do a backup of your (the users) files. On the other hand, if you want to do a multi-volume backup to several of those disks, you might have to use GNU-tar with the "-M" option and use the right devicename for the EZ-135 disk, which I can't tell without seeing at least part of the boot sequence of your system, sorry. Giving the wrong answer here, would, as said before, destroy any information on the wrong disk ! Regards, Norbert. -- Norbert Bladt Head System Software Development ascom Autelca AG Payphone and Cashless Transaction Systems Worbstrasse 201 CH-3073 Guemligen, Switzerland abladtn@autelca.ascom.ch VOICE: +41 31 999 6552, FAX: +41 31 999 6575