X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 18 Oct 2012 17:57:23 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Using tar to run backups onto a tape device using cygwin Message-ID: <20121018155723.GR25877@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1350571521697-93659 DOT post AT n5 DOT nabble DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1350571521697-93659.post@n5.nabble.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list 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