Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: John Doe <devtty1@yahoo.com>
To: axp-list@redhat.com
Subject: speed up tape writes with /bin/buffer
Date: Wed, 18 Jul 2001 12:06:03 -0700 (PDT)	[thread overview]
Message-ID: <20010718190603.56143.qmail@web14901.mail.yahoo.com> (raw)

Hello List,

I am trying to write to a tape on a remote linux
box by using the following command:

gtar cPvf - $FILELIST | rsh -l $username \
     $remote_host /bin/buffer -o $TAPE_DEV

This works really well, reducing the amount of time
to backup by an order of magnitude (due to the use
of the /bin/buffer command).

The old command was:

gtar rPvf $username@$remote_host:$TAPE_DEV \
      $FILELIST

Which took way too much time (but the "r" did
allow me to append to the existing data).

My problem is this:

After writing to the tape once, any subsequent
backups will overwrite the previous (the tape
has plenty of room for more files) since the
buffer command does not have the ability to
"append" to the tape archive. 

Is there a way to use the first command I listed
and have it "APPEND" to the tape rather than over
write it?

I have tried to use the "no-rewind" option, but one
of the requirements of the script is that it rewind
the tape and re-read what is listed to verify that
all the files got backed up. This would be okay if
I could find a way to position the tape at the end
of the existing archives prior to writing to the tape,
but I've not been able to figure out how to position
the tape.

I've used the "mt" command with "eod", but this didn't
seem to prevent the overwritting of existing files.

Any suggestions would be appreciated and I will
summarize.

Regards,
Robert

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/




             reply	other threads:[~2001-07-18 19:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-18 19:06 John Doe [this message]
2001-07-18 19:15 ` speed up tape writes with /bin/buffer Island Computers
2001-07-18 20:01 ` Tim Tuck
2001-07-18 20:24 ` W Bauske
2001-07-18 20:37 ` alvin
2001-07-19  7:16 ` Mike Tibor
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox