From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18875 invoked by alias); 27 Apr 2002 13:51:39 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 18863 invoked from network); 27 Apr 2002 13:51:38 -0000 Received: from unknown (HELO blueyonder.co.uk) (195.188.53.121) by sources.redhat.com with SMTP; 27 Apr 2002 13:51:38 -0000 Received: from pcow035o.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.757.75); Sat, 27 Apr 2002 14:49:41 +0100 Received: from iee.org (unverified [62.31.150.34]) by pcow035o.blueyonder.co.uk (Content Technologies SMTPRS 4.2.9) with ESMTP id for ; Sat, 27 Apr 2002 14:49:41 +0100 Message-ID: <3CCAAC81.926192B0@iee.org> Date: Sat, 27 Apr 2002 07:38:00 -0000 From: Don Sharp X-Accept-Language: en MIME-Version: 1.0 To: gnuwin32 Subject: Re: Cygrunsrv and backups References: <229D7C0FE0BED311A0E800805F0DD471010D2DC0@wn01ex.wn.gb.solvay.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg01530.txt.bz2 "Craveiro, Marco" wrote: > > oh mate, thanks for that, could have saved me hours of digging - > unfortunately i receive the cygwin digest at the end of the day :-( need to > change that. > > anyway, there's just one thing i dont understand on your script: > > mt -f /dev/nst0 tell > > why do you need this? > One doesn't strictly need it. I use it to tell me how near to a full tape I am using so I reshuffle what goes on which tape when it proves necessary. A further point of note is that one should no longer do mounts of tape devices. For a while now they have been automatically available as /dev/[n]st[01..] if present on the system. Look it up in the archives around early to mid-November last year. Cheers Don Sharp > cheers! > > -----Original Message----- > > From: Don Sharp [SMTP:dwsharp@iee.org] > > Sent: 26 April 2002 06:09 > > To: gnuwin32 > > Subject: Re: Cygrunsrv and backups > > > > If you have experience of backing up using tar on Unix then you can do > > the same with cygwin. Tape positioning with "mt" on the no-rewind > > editions of the tape device (e.g. /dev/nst0). > > > > My backup script looks like > > > > #!/usr/bin/sh > > mt -f /dev/nst0 status > > echo "Archive T: starting at `date`" > > cd /dost > > tar cf /dev/nst0 * > > mt -f /dev/nst0 tell > > sleep 30 > > echo "Archive D: starting at `date`" > > cd /cygdrive/d > > tar cf /dev/nst0 * > > mt -f /dev/nst0 tell > > sleep 30 > > echo "Archive finished at `date`" > > mt -f /dev/nst0 rewoffl > > > > The sleeps may not be necessary but I have had problems in the pass with > > streaming tapes when I haven't include them. > > > > Hope that helps > > > > Don Sharp > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/