Re: this is not a specific linux question but more of just UNIX - tar, dump, restore command questions?

From: Dave Uhring (daveuhring_at_yahoo.com)
Date: 09/21/04


Date: Tue, 21 Sep 2004 09:22:11 -0500

On Tue, 21 Sep 2004 13:53:33 +0000, Dances With Crows wrote:

> On Mon, 20 Sep 2004 22:09:42 -0500, Dave Uhring staggered into the Black
> Sun and said:
>> On Tue, 21 Sep 2004 02:46:13 +0000, Dances With Crows wrote:
>>> because there's a system at work where we're stuck with an older tar.
>>> (Really. Cygwin tar won't write to stdout or to \\.\TAPE0 so we use a
>>> program I cobbled together and an older tar that *will* write to
>>> stdout.)
>> Why not just build tar-1.14 on that system? The older versions were
>> all afflicted with that 100 character limit.
>
> Let me repeat that, this time with more detail:
>
> Cygwin tar 1.14 will *not* write to stdout, read from stdin, or write to
> a tape drive.

OK, I took your "older tar" to mean Cygwin tar.

> It says as much in the documentation that comes with the
> package. The tape drive problem is WindowsNT/2K/XP's fault[0]. The
> stdin/stdout problem is probably something dumb that the Cygwin people
> did recently, since their earlier tars could at least handle
> stdin/stdout. It might be possible to get the source and build a newer
> tar that will do the right thing for both stdout/stdin and tape drives.
> I don't really have time right now though.

How about using a Linux|BSD|Solaris samba server to save your data, then
backup from that server?

> [0] Under NT/2K/XP, tape drives are accessible via filenames \\.\TAPE0 ,
> \\.\TAPE1 , etc. You can't fopen() and fwrite() them though. You have
> to call CreateFile(), WriteFile(), and ReadFile() on them. These are
> Windows-specific functions that probably give the Cygwin people fits.

My hair would be *all* gray if I had to deal with that Microsfot nonsense
regularly. As it is, the dialup ISP where I do some work has replaced all
but two Windoze servers with Linux and OpenBSD. But the backups are done
from a Linux system running samba; there are no Windoze servers on the
intranet now :-)



Relevant Pages

  • Re: this is not a specific linux question but more of just UNIX - tar, dump, restore command questio
    ... >> because there's a system at work where we're stuck with an older tar. ... Cygwin tar 1.14 will *not* write to stdout, read from stdin, or write to ... tar that will do the right thing for both stdout/stdin and tape drives. ...
    (comp.os.linux.misc)
  • Re: Help with CT8000-A codes
    ... "Linux" without a distro name refers to the kernel. ... > utilities, like tar, find the drive okay. ... Since IDE tape drives are really ATAPI devices, ... SCSI and ATAPI devices are not governed by ...
    (comp.os.linux.hardware)
  • Re: Backup issue
    ... > I hear the drive spin when I try the tar command. ... > backup and tar, so please be gentle. ... Do mtst or mt work with IDE tape drives? ...
    (comp.os.linux.hardware)
  • Re: tar to multiple files
    ... tar (cpio and afio can create multiple-volume sets like what you ... tar was designed to work on tape drives which lacked convenient ways to ... You can make backups of your backups, ...
    (comp.os.linux.misc)