- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can one put custom volume info on tape with fbacku...
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
тАО11-07-2008 10:09 AM
тАО11-07-2008 10:09 AM
The reason I want to do this is that I want to create a procedure, just before the backup starts, to verify that the correct day of the week tape is in the drive. Every night we do a full system backup and we don't use incrementals.
I thought that if I was able to idenfity the tape in the header, I would read it to verify that the right on is in the drive.
Is there such a parameter or is there another way of accomplishit this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2008 10:18 AM
тАО11-07-2008 10:18 AM
Re: Can one put custom volume info on tape with fbackup
What do you mean by "custom Volume Information?"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2008 10:27 AM
тАО11-07-2008 10:27 AM
Re: Can one put custom volume info on tape with fbackup
You aren't going to be able to customize the volume information, but you can easily read the standard information:
# frecover -V /dev/tty -f /dev/rmt/0m
...will list the volume header information on your terminal. This include the date of the backup, the user who performed it, and the hostname on which it was made.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2008 10:27 AM
тАО11-07-2008 10:27 AM
Re: Can one put custom volume info on tape with fbackup
We use the following tapes in rotation:
Daily rotation: Sunday, Monday, Tuesday, Wednesday, Thursday and Friday.
Weekly Rotation: Saturday1 Saturday2, Saturday3, Saturday4 (Saturday1 does not necessarily represent the first Saturday, etc).
We also do monthly backups which are done on the 1st of the month overriding whatever tape that was normally to be used. Ex: on Dec. 1st 2008, we would use the December Tape instead of the Monday tape.
This is why I want ot create a script to verify what is in the drive to ensure that the operator inserted the right one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2008 10:30 AM
тАО11-07-2008 10:30 AM
Re: Can one put custom volume info on tape with fbackup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2008 10:38 AM
тАО11-07-2008 10:38 AM
Solution> This is why I want ot create a script to verify what is in the drive to ensure that the operator inserted the right one.
Your script could began by running:
# frecover -V /tmp/fbackup.$$ -f /dev/rmt/0m
Now, parse the /tmp/fbackup.$$ file which contains your volume header information. The line beginning with "Time:" gives you the timestamp of the backup. Parse and apply whatever rules you need. If you don't want to reuse this tape, issue a message and unmount the tape:
# mt -f /dev/rmt/0m offl
...otherwise begin a new 'fbackup' using the mounted tape.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2008 12:06 PM
тАО11-07-2008 12:06 PM
Re: Can one put custom volume info on tape with fbackup
I was aware that I was able to get the volume information from frecover, but the fact is that this information is what the system decided should be in this tape volume and it does not contain the data that I need to identify the tape... unless I am missing something where I _can_ define what can be put in the tape header (similar to "tar -VMonday ...")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2008 12:15 PM
тАО11-07-2008 12:15 PM
Re: Can one put custom volume info on tape with fbackup
As I first said:
You aren't going to be able to customize the volume information.
I suppose that your script could write its own information file; and then, include this file in its fbackup session.
To identify the tape, 'frecover' only this file; parse its contents; decide what you want to do; and either use the mounted tape to perform another 'fbackup' (with an updated information file about it) or rewind and unmount the tape.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2008 12:20 PM
тАО11-07-2008 12:20 PM
Re: Can one put custom volume info on tape with fbackup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2008 12:21 PM
тАО11-07-2008 12:21 PM
Re: Can one put custom volume info on tape with fbackup
Thanks again James.