GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: correct tape loaded script?
Operating System - HP-UX
1846619
Members
1616
Online
110256
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
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
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
03-28-2004 07:28 AM
03-28-2004 07:28 AM
correct tape loaded script?
I need to write a script that will check to see if the correct tape is loaded before it runs fbackup.
I run backups monday to friday so the script could check date against the tape and if it is 7 days between the dates then it is the right tape for that day.
ie-
Script reads tape header or file on tape for info
Checks date on system against current tape loaded
If correct tape runs fbackup
If incorrect sends email to admin.
After backup finishes tape is ejected.
Thats a rough idea of what i'm thinking to make sure the right tape gets overwritten.
if anyone has any better/simpler ideas on how i can implement this or if you allready have something in place( and scripts to blag!)
i'm getting netbackup in a few months time but i need a bit extra security for piece of mind till then.
Thanks in advance
George
I run backups monday to friday so the script could check date against the tape and if it is 7 days between the dates then it is the right tape for that day.
ie-
Script reads tape header or file on tape for info
Checks date on system against current tape loaded
If correct tape runs fbackup
If incorrect sends email to admin.
After backup finishes tape is ejected.
Thats a rough idea of what i'm thinking to make sure the right tape gets overwritten.
if anyone has any better/simpler ideas on how i can implement this or if you allready have something in place( and scripts to blag!)
i'm getting netbackup in a few months time but i need a bit extra security for piece of mind till then.
Thanks in advance
George
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2004 09:33 AM
03-28-2004 09:33 AM
Re: correct tape loaded script?
Hi,
we use 31 tapes numbered from 1-31 for each day of the month. Just insert the tape with the right number and you have no problem.
What do you want to do, if in your szenrario you have to exchange a tape because it as gone bad?
hth,
Michael
we use 31 tapes numbered from 1-31 for each day of the month. Just insert the tape with the right number and you have no problem.
What do you want to do, if in your szenrario you have to exchange a tape because it as gone bad?
hth,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2004 10:08 PM
03-28-2004 10:08 PM
Re: correct tape loaded script?
I'm trying make sure there are no problems while i'm away on holiday.
Even the numbering system aint idiot proof, which is why i'd like the system to check that the right tape is loaded.
Ta
George
Even the numbering system aint idiot proof, which is why i'd like the system to check that the right tape is loaded.
Ta
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 02:17 AM
03-29-2004 02:17 AM
Re: correct tape loaded script?
George,
If you are always using fbackup to do these backups, you can use frecover to retrieve the tape label that fbackup writes on every tape. See the man page on frecover -V. Once you have the "Time:" field, you can use A. Clay Stephenson's caljd.sh date hammer to determine if the tape in the drive is the correct one.
Regards,
Mark
If you are always using fbackup to do these backups, you can use frecover to retrieve the tape label that fbackup writes on every tape. See the man page on frecover -V
Regards,
Mark
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 2026 Hewlett Packard Enterprise Development LP