- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: frecover -V output
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
Forums
Discussions
Discussions
Discussions
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
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-01-2003 04:38 AM
10-01-2003 04:38 AM
Can anyone tell me why when I do the following :-
/etc/frecover -V /tmp/index -f /dev/rmt/0m
I get different output for two successive frecovers and the second output is always
correct ?
Is there a command I must do before running this ?
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 04:54 AM
10-01-2003 04:54 AM
Re: frecover -V output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 10:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2003 10:40 PM
10-02-2003 10:40 PM
Re: frecover -V output
I use SAM to do automated backups :-
/usr/sam/lbin/br_backup DAT PART Y /dev/rmt/0m /var/sam/graphTCAa27753 root Y 1 N > /var/sam/SAM_br_msgs 2>&1
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2003 12:09 AM
10-03-2003 12:09 AM
Re: frecover -V output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2003 01:04 AM
10-03-2003 01:04 AM
Re: frecover -V output
It's certainly interesting. You 'll need to find out what script has to be run to produce that output as it isn't something frecover would do. The fact that it's got the "it may need to be run twice" bit suggests that it's a script someone else has written.
Feel free to post the script so people can work out what's happening. It'd also be really useful to post the file /tmp/index that's created - both the 1st and 2nd times the script is run so we can compare.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2003 01:15 AM
10-03-2003 01:15 AM
Re: frecover -V output
Do an 'll /etc/frecover' and see what it shows. My systems show:
lrwxr-xr-t 1 root sys 18 Jun 9 2002 /etc/frecover@ -> /usr/sbin/frecover
You might also try invoking:
# /usr/bin/frecover -V /tmp/index -f /dev/rmt/0m
And see what happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2003 01:18 AM
10-03-2003 01:18 AM
Re: frecover -V output
I wrote the script. Here are my /tmp/index entries for two attempts :-
Today's date is: Fri Oct 3 13:14:07 GMT 2003
Finding out the backup date of the tape in the machine .....
The tape in the machine is incremental backup tape B last backed up on Tue Sep 16 21:00:02 2003
Leave the incremental tape in the machine and replace with full backup B next Wednesday
cat /tmp/index
Magic Field:FBACKUP_LABEL
Machine Identification:9000/800
System Identification:HP-UX
Release Identification:B.11.11
Node Identification:telesto
User Identification:root
Record Size:32768
Time:Thu Oct 2 21:00:03 2003
Media Use:82
Volume Number:1
Checkpoint Frequency:32
Fast Search Mark Frequency:200
Index Size:134836
Backup Identification Tag:15649 1065128403
Language:
Today's date is: Fri Oct 3 13:15:37 GMT 2003
Finding out the backup date of the tape in the machine .....
The tape in the machine is incremental backup tape C last backed up on Thu Oct 2 21:00:03 2003
Leave the incremental tape in the machine and replace with full backup C next Wednesday
cat /tmp/index
Magic Field:FBACKUP_LABEL
Machine Identification:9000/800
System Identification:HP-UX
Release Identification:B.11.11
Node Identification:telesto
User Identification:root
Record Size:32768
Time:Thu Oct 2 21:00:03 2003
Media Use:82
Volume Number:1
Checkpoint Frequency:32
Fast Search Mark Frequency:200
Index Size:134836
Backup Identification Tag:15649 1065128403
Language:
I don't think there is a difference in /tmp/index each time the script is run
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2003 01:22 AM
10-03-2003 01:22 AM
Re: frecover -V output
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2003 01:26 AM
10-03-2003 01:26 AM
Re: frecover -V output
I've changed the tmp file name as you suggested and I'll try and recreate the problem tomorrow. If the problem recurs, I'll let you know.
Cheers
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2003 08:18 PM
10-05-2003 08:18 PM
Re: frecover -V output
I realised today that the variables in the script are a function of the file /tmp/index so I cannot rename the /tmp file. Please find the script attached
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2003 09:30 PM
10-05-2003 09:30 PM
Re: frecover -V output
What is in the file /tmp/index the first time you run your script? Your 3 statements that read from /tmp/index to calculate days and dates do so before you've actually run the frecover, so they are using the old contents of the file from the last time it was run. Hence if you run it 2 times in succession you'll get the result you are expecting.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2003 09:40 PM
10-05-2003 09:40 PM
Re: frecover -V output
I see what you mean so i have elevated the frecover command to the start of the do loop and it appears to work now.
Cheers
Jeff