- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fbackup header
Operating System - HP-UX
1756668
Members
2638
Online
108852
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
Discussions
Discussions
Forums
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
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
тАО01-18-2007 06:35 AM
тАО01-18-2007 06:35 AM
fbackup header
Hi,
I am trying to use fbackup for scripted backups and am running into a problem with the header. In the man page it says that fbackup reserves 1024 bytes for ASCII header info. So I use dd to write a 1024 byte ASCII header to the tape the do a backup using fbackup. All that works find until I tried and either read the contents of the tape or do a restore.
Am I not allowed to write to the header? Can I skip the header check fbackup does somehow? Thanks!
I am trying to use fbackup for scripted backups and am running into a problem with the header. In the man page it says that fbackup reserves 1024 bytes for ASCII header info. So I use dd to write a 1024 byte ASCII header to the tape the do a backup using fbackup. All that works find until I tried and either read the contents of the tape or do a restore.
Am I not allowed to write to the header? Can I skip the header check fbackup does somehow? Thanks!
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2007 06:45 AM
тАО01-18-2007 06:45 AM
Re: fbackup header
You don't want to do anything to the tape prior to running fbackup.
By default, fbackup will rewind the tape and start from the beginning.
I recommend NOT doing the dd. Just put the tape in and run your fbackup.
By default, fbackup will rewind the tape and start from the beginning.
I recommend NOT doing the dd. Just put the tape in and run your fbackup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2007 06:47 AM
тАО01-18-2007 06:47 AM
Re: fbackup header
Will take above suggestion into consideration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2007 01:31 PM
тАО01-18-2007 01:31 PM
Re: fbackup header
fbackup is like all commercial backup programs - the tape contents are completely under control of the program. The very first thing that fbackup does is to rewind the tape. It then reads the first records on the tape to see if the tape is an fbackup volume and if so, whether it is part of the current backup set. If the header shows that it is a previously written volume from the same backup job, fbackup rejects the tape.
So no matter what you write on the tape, it will be erased by fbackup because the index at the front of the tape always matches the contents. It is also the reason that you cannot append fbackup runs onto the same tape.
The header referred to in the man page can be read with dd to see what it looks like, or just use frecover to see it:
frecover -V - -f /dev/rmt/
Bill Hassell, sysadmin
So no matter what you write on the tape, it will be erased by fbackup because the index at the front of the tape always matches the contents. It is also the reason that you cannot append fbackup runs onto the same tape.
The header referred to in the man page can be read with dd to see what it looks like, or just use frecover to see it:
frecover -V - -f /dev/rmt/
Bill Hassell, sysadmin
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP