- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Saveset Restore
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 08:05 PM
тАО04-24-2007 08:05 PM
Saveset Restore
Could anyone help me to solve the restore problem?
I want to restore around 100 files from save set but the protection is different from the original.
What parameter i need to use with backup command?
Thanks
Sentosa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 09:06 PM
тАО04-24-2007 09:06 PM
Re: Saveset Restore
>>>
but the protection is different from the original.
<<<
What exactly do you mean? Does the ownership/protection have to be differen and you want to know how to do it?
or
You restored and now it IS different, but you want it to be original?
For the moment, let me assume the second case.
If you want that, you should add
/OWNER=ORIGINAL
to your restoring BACKUP command.
( /BY_OWNER is a synonym for /OWNER )
hth
succes
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 09:12 PM
тАО04-24-2007 09:12 PM
Re: Saveset Restore
You restored, and the owner is different from the original
or
You want to restore to a different owner ?
Use HELP BACKUP_Command /by_owner
to see the possibilities, example:
backup saveset/save [...]/by_owner=original
Note: You must have SYSPRV or equivalent to change the owner of files !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 09:33 PM
тАО04-24-2007 09:33 PM
Re: Saveset Restore
Yes, i want to restore all files with new protection setting.
Original files have not protection on (World)but i want restore all files with protection (world:re).
Thanks
Sentosa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 09:51 PM
тАО04-24-2007 09:51 PM
Re: Saveset Restore
Oh, I assumed You mean the owner of files.
No, there is no way at restore time to change the individual file protections.
Do it afterwards with a SET SECURITY/PROTECTION
command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 10:01 PM
тАО04-24-2007 10:01 PM
Re: Saveset Restore
Or is it that you wish the restored files to have a different owner and protection from the original?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 10:07 PM
тАО04-24-2007 10:07 PM
Re: Saveset Restore
I wish the restored files to have a different owner and protection from the original?
Thanks & Regards,
Sentosa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 11:23 PM
тАО04-24-2007 11:23 PM
Re: Saveset Restore
If you want the restored files to have W:RE protection, you can restore WITHOUT /BY_OWNER.
In the process doing the restore, do a
$ SET PROTECTION/DEFAULT=W=RE
Now the files will be restored to the UIC of the restoring process, and world RE protection (unless... the restore is to a directory (-structure) that has a DEFAULT_PROTECTION ACL, as then that will have precedence.
Note, that this WILL set the ownership of the restored files all to the same UIC.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2007 01:09 PM
тАО04-25-2007 01:09 PM
Re: Saveset Restore
See
$ help backup /interchange
You will need to use that if the original files had any ACLs that you want removed.
Here is what I would do.
1. create new subdirectory for the files to be restored to. Make the owner what you want the restored files to have.
Creating a new directory for restores has the following advantages:
a. you can see what was restored easily.
b. If you need to change protections etc, after the fact, the files are segregated so you can apply change to all the files.
3. Edit/acl on the newly created directory. Add acl like (DEFAULT_PROTECTION,SYSTEM:RWED,OWNER:RWED,GROUP:,WORLD:RE)
Note: you can also apply other ACLs you want the restored files to "aquire" by adding ACEs to the diretory with "options=default"
For example, if you want the restored files to have an ACL like
(IDENTIFIER=MIS_RESTORE,ACCESS=READ+WRITE+EXECUTE+DELETE)
Then add the ACE
(IDENTIFIER=MIS_RESTORE,OPTIONS=DEFAULT,ACCESS=READ+WRITE+EXECUTE+DELETE)
to the restore directory.
4. restore files to the new directory using the following backup command:
$ backup saveset/save/select=(files) [restore_directory]/own=parent/interchange
5. Verify that the correct files were restored, and have the protection/ownership you want.
6. Once the files are restored, you can rename them to another directory, or if you don't want to affect the modification time, use backup [restore_dir] [dest_directory]/verify/delete
Using the /interhange qualifier removes all security related "defaults" and then applies security based on what the VMS would apply when creating a new file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2007 03:00 PM
тАО04-25-2007 03:00 PM
Re: Saveset Restore
It's easy to miss with the command and the command syntax.
It's cryptic.
You can over-engineer it, or you can (for instance) just RENAME the directory into the right spot (if you've missed on the directory restoration path spec), or (for this case) you can use SET FILE/OWNER and SET PROTECTION to expeditiously set the ownership and protections.
(Yes, It'd be nice to get it right, but I expect no one here can or will claim to always get the BACKUP syntax correct.)