This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Using tar to run backups onto a tape device using cygwin
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 18 Oct 2012 17:57:23 +0200
- Subject: Re: Using tar to run backups onto a tape device using cygwin
- References: <1350571521697-93659.post@n5.nabble.com>
- Reply-to: cygwin at cygwin dot com
On Oct 18 07:45, srikant veeraraghavan wrote:
> Hi,
>
> I have been trying to write few backups using the tar command onto a tape
> drive which is zoned to my Windows server.
> The Carts have been loaded on the tapes on which I need to run the backup.
> I found the tape Symbolic name from the Device manager tab. And this is the
> command that I used.
>
> tar -cf \\.\Tape0 /cygdrive/c/StratfordData
No, no, no. When in Rome, ...
Here's the important link to the User's Guide:
http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices
Cygwin is a POSIX layer, as such it provides a POSIX view to the
supported devices. If you use native Windows device names, the
special POSIXy handling of the device won't kick in and you are on
your own. If you want the entire thing, use the POSIX device name.
Having said that, what you want is either /dev/st0 or /dev/nst0.
Note that st0 and nst0 have a different meaning!
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple