- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fbackup and multiple 'save sets'
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
Discussions
Discussions
Discussions
Forums
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
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
тАО12-02-2003 09:59 PM
тАО12-02-2003 09:59 PM
fbackup and multiple 'save sets'
The copy was originally a simple cp to another directory but as time went by we moved to tar uvf /dev/rm/0m
That worked fine until we hit the 2Gb limit for files imposed by tar. From what I can see cpio and pax are no better at handling large files.
I know fbackup can handle them as we do cold backups at the week-end and I have done successful restores to a stand-by server.
What I really need to be able to do during the hotbackups is to replace
tar uvf
fbackup -0 -f
Is that possible or is fbackup designed to store only a single session/save-set on a tape and expects the -i or -g to be a comprehensive list of files to back-up as opposed to being the latest in a long list so to speak.
Will fbackup session 2 overwrite the file saved during session 1 (different file names) or will it append it to the end of the tape after the contents of session 1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 10:08 PM
тАО12-02-2003 10:08 PM
Re: fbackup and multiple 'save sets'
fbackup -0 -f /dev/rmt/0mn -i single-file.
I did not test this but that is normaly used to write multiple volumes on a tape.
use mt -t /dev/rmt/0mn fsf <1...6> to put tape in place.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 11:12 PM
тАО12-02-2003 11:12 PM
Re: fbackup and multiple 'save sets'
I tried that
fbackup -i file1 -f /dev/rmt/0mn
fbackup -i file2 -f /dev/rmt/0mn
mt -f /dev/rmt/0m rew
frecover -r -f /dev/rmt/0mn
it brought back the second file backed-up a second attempt at frecover complained about unrecognised volume header. :-(
So it looks like from this that the second fbackup overwrote the first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 11:16 PM
тАО12-02-2003 11:16 PM
Re: fbackup and multiple 'save sets'
An alternative is to pipe fbackup into dd, something like:
fbackup ... -f - ... | dd of=/dev/rmt/?mn bs=128k
Or you can download GNU tar from here
http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 11:23 PM
тАО12-02-2003 11:23 PM
Re: fbackup and multiple 'save sets'
fbackup should not be used with no-rewind devices as it is not designed to write multiple backups to one tape. This is mentioned in the fbackup man page.
Was there a special reason for putting multiple tarballs onto a single tape? I can see it means you have to physically store less tapes, but tapes aren't that expensive (especially compared to the value of the data on them.)
You could use incremental backups, but these will use a separate tape for each backup, ie:
full backup of your data dir - tape 1
incremental backup - tape 2
incremental backup - tape 3 (the difference between the current data dir and the tape 2 backup.)
and so on...
I have seen a case where someone used fbackup to write to a backup file rather than a tape, then used dd to write multiple backup files onto a tape. There were problems, and I'm of the belief that where backups are concerned you want to minimise the problems. ;-)
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 11:34 PM
тАО12-02-2003 11:34 PM
Re: fbackup and multiple 'save sets'
Then the GNU-tar can then be an option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2003 04:28 AM
тАО12-03-2003 04:28 AM
Re: fbackup and multiple 'save sets'
I have downloaded gnu-tar and installed it onto the test box, and will give it a whirl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2003 04:45 AM
тАО12-03-2003 04:45 AM
Re: fbackup and multiple 'save sets'
what about this?
You substitute the tar with:
echo filename >> filelist
and at the end you use:
fbackup -0f /dev/rmt/0mn `awk '{printf("-i %s ",$0)}' filelist`
just curious,
Michael