Linux – Is it possible to open Tar tape on Windows machine

linuxtape

HP DAT DDS5 external USB tape drive connected to a CentOS 5 server. Some files are being backed-up directly to the tape using the Tar utility/command.

If I connect the tape drive to a Windows machine, and assuming I have installed the correct drivers, is it possible to 'see' the tar files on the tape?

Would I be able to use NTBackup to copy the files to the windows machine, and then use something like 7zip to extract the tar files?

Best Answer

To get the .TAR image off the tape, I'd try using the dd command from the unxutils distribution. It supports reading from physical device, so something like:

dd if=\\.\Tape0 of=output.tar 

Ought to work (assuming your tape drive is "Tape0" on your Windows Server... it should be). You may have to play around with the block size (bs= parameter on the TAR command) to get it to read properly.

Make a couple test tapes to play around with before you do anything with "real" data.