Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* speed up tape writes with /bin/buffer
@ 2001-07-18 19:06 John Doe
  2001-07-18 19:15 ` Island Computers
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: John Doe @ 2001-07-18 19:06 UTC (permalink / raw)
  To: axp-list

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/




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-07-19  7:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-18 19:06 speed up tape writes with /bin/buffer John Doe
2001-07-18 19:15 ` 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

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