Operating System - OpenVMS
1827894 Members
1894 Online
109969 Solutions
New Discussion

Restore saveset and create directory structure

 
SOLVED
Go to solution
Jared Seaton
New Member

Restore saveset and create directory structure

Hello, I am trying to restore a save set and I would like to create the same directory structure as was backed up. When I try to run the backup command, it restores all files to the destination directory, no matter what path it was backed up from originally.

Command I am using:
backup gso10$mua60:/save disk5:[test]

Command used to backup data:
BACKUP/VERIFY/LOG/NOASSIST/IGNORE=LABEL_PROCESSING/NOREWIND DKA300:[PKLAB.GLOBAL.*]*.* MKA400:PKL14SEP01.213626/SAVE_SET

When I do a backup/list, it shows the directory structure that was backed up originally.

I have looked through the help files and cannot seem to find any information on this.

Any help would be greatly appreciated.
5 REPLIES 5
Steven Schweda
Honored Contributor
Solution

Re: Restore saveset and create directory structure

Probably something like:

backup gso10$mua60:/save disk5:[test...]
Robert Gezelter
Honored Contributor

Re: Restore saveset and create directory structure

Jared,

You will need to specify [test...] in the restore command to restore the directory structure (below the root that you specify).

There are a variety of possibilities that can be accomplished when restoring backups. To save your aggravation, I recommend that you create a toy saveset on disk of a subdirectory tree, and experiment with the various possibilities.

The full documentation for BACKUP is in the documentation set, which is available on the OpenVMS www site at http://www.hp.com/go/openvms

I hope the above is helpful, please let me know if I have been unclear.

- Bob Gezelter, http://www.rlgsc.com
Steven Schweda
Honored Contributor

Re: Restore saveset and create directory structure

Although, if the original BACKUP did not use
"...", there is a limit to what you can get
by specifying it on the restoration side.
Jared Seaton
New Member

Re: Restore saveset and create directory structure

The ... worked perfectly. Thanks for the quick responses!
Jared Seaton
New Member

Re: Restore saveset and create directory structure

Thanks again!