HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- using fbackup to do full backup of all files
Operating System - HP-UX
1830933
Members
1952
Online
110017
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
05-18-2006 07:19 AM
05-18-2006 07:19 AM
All,
What's the best way to do a full backup with fbackup? Use "fbackup -x -i /"? I don't see any way to tell it to back up all of a volume group, it would be nice if I could tell it to backup /dev/vg00. I'm a bit confused, for example if I use "/" as the directory to be backed up, then it appears to get all directories under "/", such as var, home, etc. I do use Ignite also, but I didn't think Ignite is recommended for restoring single files, it's mainly for restoring whole systems. Any caveats regarding using a make_tape_recovery tape to restore a single file? Thanks,
Brian
What's the best way to do a full backup with fbackup? Use "fbackup -x -i /"? I don't see any way to tell it to back up all of a volume group, it would be nice if I could tell it to backup /dev/vg00. I'm a bit confused, for example if I use "/" as the directory to be backed up, then it appears to get all directories under "/", such as var, home, etc. I do use Ignite also, but I didn't think Ignite is recommended for restoring single files, it's mainly for restoring whole systems. Any caveats regarding using a make_tape_recovery tape to restore a single file? Thanks,
Brian
Brian Bartley
Campus Card Services
Indiana University
Campus Card Services
Indiana University
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2006 07:27 AM
05-18-2006 07:27 AM
Solution
You can absolutely use a make_tape_recovery tape to restore a single file. When you do you must remember that the tape is written WITHOUT leading '/' on the directory names. So whatever you restore will be restored relative to the directory you are currently in.
To list files on the make_tape_recovery tape (where ?mn is your actual tape device 1mn, 2mn, whatever):
# mt -f /dev/rmt/?mn rew
# mt -f /dev/rmt/?mn fsf 1
# tar -tvf /dev/rmt/?mn
To actually restore a file:
# mt -f /dev/rmt/?mn rew
# mt -f /dev/rmt/?mn fsf 1
# tar -xvf /dev/rmt/?mn dir/file
If you wanted to restore /etc/hosts for example then the tar command would be:
# tar -xvf /dev/rmt/?mn etc/hosts
If your current directory is NOT '/' when you do the above command then the etc directory would be created under whatever your current directory is and the hosts file would be in it. If you were in /home/root, then you would find /home/root/etc/hosts after the above command.
To list files on the make_tape_recovery tape (where ?mn is your actual tape device 1mn, 2mn, whatever):
# mt -f /dev/rmt/?mn rew
# mt -f /dev/rmt/?mn fsf 1
# tar -tvf /dev/rmt/?mn
To actually restore a file:
# mt -f /dev/rmt/?mn rew
# mt -f /dev/rmt/?mn fsf 1
# tar -xvf /dev/rmt/?mn dir/file
If you wanted to restore /etc/hosts for example then the tar command would be:
# tar -xvf /dev/rmt/?mn etc/hosts
If your current directory is NOT '/' when you do the above command then the etc directory would be created under whatever your current directory is and the hosts file would be in it. If you were in /home/root, then you would find /home/root/etc/hosts after the above command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2006 07:52 AM
05-18-2006 07:52 AM
Re: using fbackup to do full backup of all files
fbackup is a file backup tool so the concept of vg00 does not exist. Volume groups are used to assign chunks of disk space to logical volumes, which may or may not have a filesystem. SO there is no way to tell fbackup about vg00. Instead, you create a graph file starting with "i /" to include everything, then "e /something" to exclude mountpoints not on vg00. Then use -g graphfile to backup the files.
Note that the performance of fbackup (and especially frecover) is many times better than Ignite/UX (aka, pax). Be sure to include a config file unless you are using (ancient) reel-to-reel tapes.
fbackup is vastly superior to Ignite/UX for general file backup. Ignite/UX is designed only for a disaster recovery or to clone systems.
Bill Hassell, sysadmin
Note that the performance of fbackup (and especially frecover) is many times better than Ignite/UX (aka, pax). Be sure to include a config file unless you are using (ancient) reel-to-reel tapes.
fbackup is vastly superior to Ignite/UX for general file backup. Ignite/UX is designed only for a disaster recovery or to clone systems.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2006 01:00 AM
05-19-2006 01:00 AM
Re: using fbackup to do full backup of all files
Hi Brian
see this thread :
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=900850
Joel
see this thread :
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=900850
Joel
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP