Computing.Net > Forums > Unix > Append data to a tape

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Append data to a tape

Reply to Message Icon

Name: vicchai
Date: July 4, 2006 at 18:07:35 Pacific
OS: HP-UX B.10.20
CPU/Ram: UK
Product: HP
Comment:

Hi All,

Very day, I need to collect data to a tape at different directory on the same machine, and I only can append the data to the same tape, my problem is when I doing appending, it always read from the beginning of the tape to the end and then start appending, it need a lot of waiting time, so my question is can I keep the read/write head at the end of the tape and then cd to the other directory and start appending data from the new directory to the tape?

Thanks for any kind of reply.



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: July 5, 2006 at 09:47:06 Pacific
Reply:

This depends on your tape drive and OS. Something like a DAT tape allows you to create and access volumes on a tape using the mt, magnetic tape control, command. The mt command with the proper argument places the tape head where you want.

Of course, controlling and accessing the tape volumes is an administation headache.

Back in 1993, Sys Admin magazine published an article, "Fast Backup and Restore Scripts for DAT Drives". Their website is at http://www.samag.com.

I don't know how much luck you'll have accessing this article short of ordering their archive CD.


0

Response Number 2
Name: vicchai
Date: July 6, 2006 at 19:26:56 Pacific
Reply:

I am using HP-UX, I have did some homework, I found this command:
tar -rvf /dev/rmt/0mn
This command will tell the tape drive not to rewind, I have try this:
tar -cvf /dev/rmt/0mn archive_May2006
cd /home
tar -rvf /dev/rmt/0mn *
It give me an error. Do anyone know how to use it?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Sort by Date-timestamps i... Adding variable at end o...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Append data to a tape

how to write backup scripting www.computing.net/answers/unix/how-to-write-backup-scripting/3099.html

Map a sco unix folder to a win98 pc www.computing.net/answers/unix/map-a-sco-unix-folder-to-a-win98-pc/3682.html

Ask questions, append answr to file www.computing.net/answers/unix/ask-questions-append-answr-to-file/5968.html