- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Backup Restore
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
05-06-2005 07:52 AM
05-06-2005 07:52 AM
Backup Restore
Is it possible that restore of backup taken on HP -UX system thorugh tar are not successfull and on the same tape drive and same tape, if backup is taken through fbackup restore doesnt't have any problems. The error we get on the tar backup is as
# tar tvf /dev/rmt/26mn
Tar: blocksize = 16
Backup on the tape were successfull but while listing and restoring it had problems. The backup taken with tar had been given without any options, as default.We tried all options
for different blocksizes as below
tar tvfb 64 /dev/rmt/26mn
tar tvfb 20 /dev/rmt/26mn
tar tvfb 16 /dev/rmt/26mn
Why is it so that backups taken with fbackup are restored with success while listing and restoring from tar has problems.
Thanx
Himanshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 07:57 AM
05-06-2005 07:57 AM
Re: Backup Restore
It sounds like either the tape was overwritten with something else, or the tape somehow got scrambled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 10:35 AM
05-06-2005 10:35 AM
Re: Backup Restore
tar version may be bad. As noted above, the tape may have been hammered, or the heads could have been dirty when the tar was written.
A fair test is to take a fresh tape, make a tar to tape (the default) and then try and restore the file.
Then do the same thing with a fresh tape with fbackup.
If both tests work, you have no problem and the prior answer is correct, bad luck. If the tar test fails, make sure tar is patched and see what verion of tar you are actually using.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 01:44 PM
05-06-2005 01:44 PM
Re: Backup Restore
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2005 04:54 AM
05-09-2005 04:54 AM
Re: Backup Restore
The command used was
tar cvf /dev/rmt/0mn /DDL1/archive.
We have ultimately got the drives replaced and all seems to be well. Can a drive make such a defference that it is able to do fbackup and not tar ?
Cheers,
Himanshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2005 05:16 AM
05-09-2005 05:16 AM
Re: Backup Restore
the success of fbackup may be caused by the fact that it was written to the RE-winding tape device.
You tar command uses the NON-rewinding device, /dev/rmt/0mn , causing data to be written to the tape, starting at the current tape position (whatever that might be).
Rewind your tape - before and writing a tar backup to a non-rewinding device, e.g.:
# mt -t /dev/rmt/0mn rew
in order to establish a valid starting point, or use the non-rewinding device.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2005 05:39 AM
05-09-2005 05:39 AM
Re: Backup Restore
Rewind of the tape had been performed before taking the tar backup.
Thanx
Himanshu