- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to check or verify backup?
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
03-29-2001 09:33 AM
03-29-2001 09:33 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 09:49 AM
03-29-2001 09:49 AM
Re: How to check or verify backup?
#tar tvf /dev/rmt/0m
-fnhalili
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 09:57 AM
03-29-2001 09:57 AM
Re: How to check or verify backup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 10:04 AM
03-29-2001 10:04 AM
Re: How to check or verify backup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 10:11 AM
03-29-2001 10:11 AM
SolutionFor 'fbackup' you can use 'frecover' without actually recovering files to verify your backup. The '-N' option for 'frecover' from the man pages specifies:
/begin_quote/
-N (no recovery) Prevent frecover from actually recovering any files onto disk, but read the backup as if it was, in fact, recovering the data from the backup, producing the same output that it would on a normal recovery. This option is useful for verifying backup media contents in terms of validity (block checksum errors are reported), and contents (a listing of files can be produced by using the -N and -v options together). Note that the listing of files produced with the -N and -v options requires the reading of the entire backup, but is therefore a more
accurate reflection of the backup's contents than the index stored at the beginning of the backup (which was created at the start of the backup session, and is not changed during the course of the backup).
/end_quote/
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 10:53 PM
03-29-2001 10:53 PM
Re: How to check or verify backup?
frecover -xNv
To list the fiels on the tape:
frecover -I "index_file"
More information is in Chapter 9 Backing up and Restoring Data in the book "HP-UX System Administration Task." (Part. no. B2355-90079)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2001 12:36 AM
03-30-2001 12:36 AM
Re: How to check or verify backup?
The only true way to check you backup is to do a full recovery from the backup media, not something that we normally can do.
While backups are important, some are "Mission Critical" and so MUST be tested fully. Your company like mine will probable complain that you require downtime on the servers to test, but will understand when they realise the implications of a failed recovery procedure.
Once this test has been carried out we then have to rely on backup logs to confirm the validity of our backups.
In fbackup you can also define an error file to be executed upon error condition ( Mail to , write to log , page etc).
By using the command :-
mt -f /dev/rmt/xmn status
(HPUX 11.00 and above) it is possible to remotely check if the write protect tab is on on your destination backup tape.
Also as James has said a test recovery can be run by using the ?N option in fbackup, this has two problems the first being that you can be testing against a ?moving? database and so errors will be reported and the second is on a busy server extra loading will occur during the verification run.
Just a few ideas.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2001 03:55 AM
03-30-2001 03:55 AM
Re: How to check or verify backup?
You don?t need to do a real restore to verify a backup. You need to read data from the media, not writting it to any mass storage.
CPIO
cpio -it
TAR
tar -t
FBACKUP
use flag -N
OMNIBACK
use verify option from media pool management edit menu.
DD
dd if=/dev/
If the command returns an i/o error, you?ve got a bad backup.
Good backups!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2001 05:00 AM
03-30-2001 05:00 AM
Re: How to check or verify backup?
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2001 07:07 AM
03-30-2001 07:07 AM
Re: How to check or verify backup?
If your data is really critical, consider redundant backups, because ocassionally tapes will go bad on the shelf, even after you verify them. Mission Critical systems should definitely have some element of redundancy (RAID/Mirror/clone..) for storage.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2001 07:16 AM
03-30-2001 07:16 AM
Re: How to check or verify backup?
The tapes are created, then get loaded to our test servers.
What? You say that you don't have crash and burn lab servers? We have 2 C110, a K something, and an N something to play with in the lab. We normally load all new patches to them first and test if all the stuff works, sometimes it does not. After the patches are tested, they go to production servers. More make_recoverys are done and these are then loaded back to the lab servers.