- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: BACKUP/CREATE/BEFORE/SINCE problem
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
тАО10-24-2005 05:48 AM
тАО10-24-2005 05:48 AM
backup/replace/rewind backup_tape_1:liv_disk_1.bck/sav/created/since=3-oct-2005/BEF=4-OCT-2005/sele=[maint.alm.output] dsa1:[maint.alm.output.2005-10-03...]/by_own=parent
DATA REQUEST for files between 3-OCT-2005 and 4-OCT-2005.
DESIRED RESULT: Restore only files created between 3-OCT-2005 and 4-OCT-2005
ACTUAL RESULT: Restored all files from the directory tree.
COMMENTS: Some files have version limits. Fortunately I restored to another directory since this is a production system.
I haven't tried it on VMS 7.3-2. I dont' have any VMS 8.x systems.
Lawrence
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 06:20 AM
тАО10-24-2005 06:20 AM
Re: BACKUP/CREATE/BEFORE/SINCE problem
In the System Management Utilities Reference Manual, I see that it differentiates between qualifiers that apply to input files and those that apply to input save-sets. /SINCE applies to input files, so I suspect that means it applies only when you are copying files into a save-set or from one directory tree to another.
I guess the (rather annoying) work-around would be to recover the whole save-set and then copy the files from the dates you want.
--Travis Craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 06:40 AM
тАО10-24-2005 06:40 AM
Re: BACKUP/CREATE/BEFORE/SINCE problem
2. It could have been a disaster if I had restored to the original directory and interfered with production.
Lawrence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 06:51 AM
тАО10-24-2005 06:51 AM
Re: BACKUP/CREATE/BEFORE/SINCE problem
Lawrence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 07:07 AM
тАО10-24-2005 07:07 AM
Re: BACKUP/CREATE/BEFORE/SINCE problem
Hmm,
It seems to so me that the answer Travis gave was correct, useful, and courteous. It even had a potential workaround.
However, Travis was assigned 1 point. Why?
Are you out of points? I'll be happy to give you some! :-)
Or was the answer perhaps correct, but not the desired one?
[ 0 points for this part of the reply is just fine :-) ]
Anyway...
I agree with both of you that
a) /since would be a useful, meaningful Input Save-Set Qualifier
b) The help file is too subtle distinguishing "Input Save-Set Qualifier" and "Input File-Selection Qualifier"
c) It should possibly not just ignore the /SINCE but fail the command altogether.
If those observations are correct then I would recommend a support call/Email requesting a documentation and/or code improvement for backup.
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 08:50 AM
тАО10-24-2005 08:50 AM
Re: BACKUP/CREATE/BEFORE/SINCE problem
1. Restoring a whole saveset (whole disk) might not be practical if the disk is 80% or more full which is often the case. And no they won't buy us larger disks just because a disk fills up.
2. Fortunately the data request was only for one directory. So I created a 2nd directory copied the files with the appropriate /BEFORE/SINCE qualifiers as you suggested. Deleted the files from the original directory I created. Then COPY/REPLACE the files. The /REPLACE is necessary because of multiple versions.
Hein:
1. Yes, the answer was correct but not the desired one.
2. I had missed the "File-Selection". So the documentation is correct but subtle.
3. Yes, it should fail the /BEFORE and /SINCE commands since they aren't valid for a tape saveset input but hopefully with a decent error message.
4. Yes, it would make a good code improvement.
Lawrence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 09:09 AM
тАО10-24-2005 09:09 AM
Re: BACKUP/CREATE/BEFORE/SINCE problem
Excellent reply. Thanks for the clarification Lawrence!
My point assignment remarks were just an observation. Nothing personal. Thanks for the topic. It was a good reminder/warning on this backup behavior.
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 03:21 PM
тАО10-24-2005 03:21 PM
SolutionIt looks as though everything is clarified now. My experiment included only a /since, and even that didn't work. I'm surprised that Backup hasn't been modified over the years to include date-based selections from save-sets, because this can't be the first time someone has needed one. I would have assumed it would work the way you tried, too.
I guess when disk space is short then you need to make extensive use of the /select qualifier to get the files you want. What a pain! Not to mention time consuming if it means doing a bunch of Backup commands from tape.
--Travis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 08:20 PM
тАО10-24-2005 08:20 PM
Re: BACKUP/CREATE/BEFORE/SINCE problem
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2005 03:37 AM
тАО10-25-2005 03:37 AM
Re: BACKUP/CREATE/BEFORE/SINCE problem
Lawrence