05-19-2011 09:29 PM
As per the topic, I'm trying to see if it is actually possible to perform an OpenVMS backup to an Linux NFS mounted share.
Currently, we have a daily backup to disk, then disk to tape configured. I'm hoping I can modify the script so that instead of sending to tape, I can send to a mounted Linux NFS share. This is so we don't have to re-init tapes every week, and so we can backup all systems with HP DP.
The backup script currently executes the following code
What I would like to do is backup the saveset to a subdir in the NFS share instead of tape.
I thought the following would get me there:
$ BACKUP -
However my terminal is filled with messages like:
%BACKUP-E-OPENOUT, error opening DNFS16:PROD20052011.BCK;1 as output
-RMS-E-FEX, file already exists, not superseded
For reference, the following vars are declared:
$ todays_saveset = f$cvtime(,,"day")+f$cvtime(,,"month")+f$cvtime(,,"
$ prod_saveset = "prod"+todays_saveset
$ nfs_dir = f$cvtime(,,"year")+f$cvtime(,,"month")+f$cvtime(,,
Can someone point out whether this is actually possible or if I'm doing something wrong?
Solved! Go to Solution.
05-19-2011 09:41 PM
You must specify the /SAVE_SET qualifier when the input or output
specifier is a BACKUP save set on a Files-11 disk.
/SAVE_SET is the default for a tape, but not
for a save set on disk. Without it, I'd
guess that BACKUP is trying to copy every
file to DNFS16:PROD20052011.BCK;1,
which works only once.
05-19-2011 10:10 PM
For disk BACKUP /SAVE_SET qualifier is required. BACKUP does not recognize it a saveset file until and unless /SAVE_SET qualifier is specified. But for the tape /SAVE_SET qualifier is considered as default.
05-19-2011 10:57 PM
$ BACKUP -
...and it is working beautifully. You have saved our department at least 1 hr a week :)
05-20-2011 12:44 PM
> required. [...]
Yes, _IF_ you _WANT_ a save set. BACKUP can
also be used to copy files from place to
place, and, if the destination is a disk,
then that's what it will try to do by
default. If the destination is a tape (not
file-structured), then a default of /SAVE_SET