HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Restore protection/ACLs only
Operating System - OpenVMS
1829596
Members
2114
Online
109992
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
07-16-2007 04:48 AM
07-16-2007 04:48 AM
I've done backups and restores with /SAVE/BY_OWNER=ORIG, and somehow some of the files weren't restored with the proper ACLs or protection.
Is there a way to do a restore of only ACLs/protection? I just need to restore the security of the files.
Thanks!
Is there a way to do a restore of only ACLs/protection? I just need to restore the security of the files.
Thanks!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2007 05:13 AM
07-16-2007 05:13 AM
Solution
BoyeDav.
I do not recall a documented way to do this. I would like to see the precise command line that was used to restore the volume. Also, was the restore operation done from a privileged account, or is something else going on.
Insofar as effectively retrieving the ACLs from the backup save set, I would be inclined to restore the save set to a private volume, and then write a command file to iterate using the F$SEARCH lexical function to iterate through the private volume, and use a SET SECURITY/LIKE command to copy the ACL from the private volume to the other volume.
- Bob Gezelter, http://www.rlgsc.com
I do not recall a documented way to do this. I would like to see the precise command line that was used to restore the volume. Also, was the restore operation done from a privileged account, or is something else going on.
Insofar as effectively retrieving the ACLs from the backup save set, I would be inclined to restore the save set to a private volume, and then write a command file to iterate using the F$SEARCH lexical function to iterate through the private volume, and use a SET SECURITY/LIKE command to copy the ACL from the private volume to the other volume.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2007 06:27 AM
07-16-2007 06:27 AM
Re: Restore protection/ACLs only
That's perfect. I did a DIR of all files I want to fix, then scripted the application of the correction ownership for another directoy containing the backup.
I ended up with something like this working:
SET SECURITY/LIKE=NAME=DBCRELATION_SOFTGIFTS.FMT /COPY_ATTRIBUTE=OWNER/CLASS=FILE DISK$RAMB:[DBCENTREL.FILES]DBCRELATION_SOFTGIFTS.FMT
I ended up with something like this working:
SET SECURITY/LIKE=NAME=DBCRELATION_SOFTGIFTS.FMT /COPY_ATTRIBUTE=OWNER/CLASS=FILE DISK$RAMB:[DBCENTREL.FILES]DBCRELATION_SOFTGIFTS.FMT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:29 AM
07-17-2007 03:29 AM
Re: Restore protection/ACLs only
SET SECURITY with /LIKE and /COPY_ATTRIBUTE=OWNER did exactly what I needed. I restored the original files to an alternate location and used them as the source for copying the security info to the files with the broken ownership.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP