List Info

Thread: Copy a tar file to tape?




Copy a tar file to tape?
user name
2006-03-27 00:16:56
I'm in the process of revamping my backup procedure.

Currently my backup procedure consists of using tar to
compress and save
 a set of directories directly to tape.

I'd like to change that so that I create a compressed
archive on a
removable usb hard drive, and then copy the compressed
archive to tape.

The problem is, I can't figure out the best way to copy the
archive to tape.

I've tried using 'dd' to do the copy ...

dd if=backup.tgz of=/dev/tape bs=512

... but I get a "dd: writing `/dev/tape': Invalid
argument" error
message ... and "st0: Write not multiple of tape block
size." shows up
on the console.

Any suggestions?

Thanks!

david
-- 
This is the PC Technical Discussion for iSeries Users
(PcTech) mailing list
To post a message email: PcTechmidrange.com
To subscribe, unsubscribe, or change list options,
visit: htt
p://lists.midrange.com/mailman/listinfo/pctech
or email: PcTech-requestmidrange.com
Before posting, please take a moment to review the archives
at http://archive.mi
drange.com/pctech.
Copy a tar file to tape?
user name
2006-03-27 01:22:07
David Gibbs wrote:
> dd if=backup.tgz of=/dev/tape bs=512

Oh yeah, I based the 'bs' value on the results of mt
status...

SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 512 bytes. Density code 0x25 (DDS-3).
Soft error count since last status=0
General status bits on (41010000):
 BOT ONLINE IM_REP_EN

david
-- 
This is the PC Technical Discussion for iSeries Users
(PcTech) mailing list
To post a message email: PcTechmidrange.com
To subscribe, unsubscribe, or change list options,
visit: htt
p://lists.midrange.com/mailman/listinfo/pctech
or email: PcTech-requestmidrange.com
Before posting, please take a moment to review the archives
at http://archive.mi
drange.com/pctech.
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )