Operating System - OpenVMS
1834285 Members
2207 Online
110066 Solutions
New Discussion

Re: How can copy some data from disk to tape drive?

 
Lorenc
Occasional Contributor

How can copy some data from disk to tape drive?

Hello!
I need to copy some traffic logs from disk to tape drive. The tape drive is not empty and i don't want to delete the data on the tape drive, but i want to add some other data on it.
Could somebody help me with this issue?
Thanks in advance.
7 REPLIES 7
Steven Schweda
Honored Contributor

Re: How can copy some data from disk to tape drive?

Assuming that you're in the right forum, you
can probably use BACKUP /NOREWIND, but it's
hard to say, knowing nothing about what is on
the tape now or how it got there.

Many people use more than one tape.
Jan van den Ende
Honored Contributor

Re: How can copy some data from disk to tape drive?

Lorenc,

$ BACKUP tapeunit: /NOREWIND

The vital qualifier here is /NOREWIND

And, by the way, that _IS_ the default!

-- In the (unhoped for!) case that your tape contains COPYd files instead of BACKUPed savesets, AFAIK you are out of luck.

Success.

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Steven Schweda
Honored Contributor

Re: How can copy some data from disk to tape drive?

> -- In the (unhoped for!) case that your tape
> contains COPYd files instead of BACKUPed
> savesets, AFAIK you are out of luck.

What's the problem? I haven't done it for a
long time, but doesn't COPY _always_ append
to the tape?
Uwe Zessin
Honored Contributor

Re: How can copy some data from disk to tape drive?

I am rather defensive, so I explicitly position to end-of-tape:
$ backup/list tape:non-exit-file

I would not use a plain $COPY to save data on tape (be glad you don't have to try that on a vanilla VAX/VMS V3.0 system ;-)
.
Arch_Muthiah
Honored Contributor

Re: How can copy some data from disk to tape drive?

Lorenc,

use /IGNORE=LABEL_PROCESSING qualifier which is necessary to prevent the BACKUP from processing tape expiration date.

MOunt cmd is not necessary as BACKUP automatically issues MOUNT/FOREIGN cmd for you.

Magnetic-tape save sets should only be processed with the BACKUP command; HP does not recommend that you use the COPY command. If the Magnetic-tape save sets created with the /INTERCHANGE qualifier, then probably DCL copy will work.

$backup/rewind/log/ignore=label disk:[log]*.log tape01:test

Archunan
Regards
Archie
Jan van den Ende
Honored Contributor

Re: How can copy some data from disk to tape drive?

Archuan,


$backup/rewind/log/ignore=label disk:[log]*.log tape01:test


Tis command explicitly requires the tape to REWIND to the beginning-of-tape, and start writing there!
It does THE OPPOSITE of the requested (adding after anything already on the tape)!

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Jan van den Ende
Honored Contributor

Re: How can copy some data from disk to tape drive?

Lorenc,

I only just now looked at your profile, and noticed a big omission.

WELCOME to the VMS forum - the world's most stable and most secure OS.

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.