delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/10/06:32:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <229D7C0FE0BED311A0E800805F0DD471010D2E8A@wn01ex.wn.gb.solvay.com>
From: "Craveiro, Marco" <Marco DOT Craveiro AT solvay DOT com>
To: "'Sisira Jayasinghe'" <sisira AT cinci DOT rr DOT com>, cygwin AT cygwin DOT com
Subject: RE: trying to mount a DAT drive on Cygwin running on Windows 98 2
nd Ed
Date: Mon, 10 Jun 2002 12:31:51 +0200
MIME-Version: 1.0

Hello Sisira,

You should search the archives on that one. I had the same problem (not
knowing how to backup with
Cygwin) not so long ago and managed to get great answers from the list.
Attached is the most relevant 
Message but make a search for the full discussion.

Soup++

-----Original Message-----
From:	Don Sharp [SMTP:dwsharp AT iee DOT 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

"Craveiro, Marco" wrote:
> 
> Huh, before I starting getting flamed, may I just add that there is plenty
> of documentation about ssh and cron on the mailing list, I just made the
> mistake of using google instead of searching the mailing list directly.
> Apologies.
> 
> I am still searching for docs on backing up, so if you got info on that
> please let me know.
> 
> Thanks!
> 
> marco
> 
> -----Original Message-----
> From: Craveiro, Marco
> Sent: 26 April 2002 09:37
> To: cygwin AT cygwin DOT com
> Subject: Cygrunsrv and backups
> 
> Hello cygwiners!
> 
> First many thanks for a great product, its getting greater with each
> release. Contrary to some people on this list I have had no problems with
> it. in fact, I have just finished installing it on a production server (nt
> 4.0) and two workstations (w2k and XP) without any problems whatsoever;
> setup.exe is brilliant. Also, huge thanks for the person that put in the
> script that configures TeX, I was just about to start reading the howto's
> :-))
> 
> Now, for my problem: I need to start backing up data using cygwin. I did a
> search on the web but there are no obvious docs about it. Can someone
point
> me to:
> 
> - docs (or posts) talking about setting up cron and ssh as a service, or
> describing cygrunsrv with different services. I have found a brilliant
howto
> for
> Inetd, is there something like that for these other services?
> - docs (or posts) talking about backing up data using cygwin: how do you
> rewind the tape, Append data, etc.
> 
> If none or some of it is not possible please let me know.
> 
> Thanks for your time!
> 
> Marco
> 
> --
> 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/


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019