- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Fbackup Graph File Question...
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
10-25-2006 07:11 PM
10-25-2006 07:11 PM
Fbackup Graph File Question...
Just a quick question about fbackup graph files. I'd have tried it to see, but I don't have a server handy with a DAT drive and tape loaded at the moment so...
I want to in my backup include for example some files from /etc like /etc/passwd /etc/group /etc/ftpusers and so on, but I want to exclude the rest of the contents of that directory.
I'm wondering if there is a correct way or a proper order this should go into the graph file. Would this be correct for example...
e /etc
i /etc/passwd
i /etc/group
i /etc/ftpusers
Or would fbackup see that I've excluded /etc and therefore ignore the following three include entries?
Many thanks - Lee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 07:30 PM
10-25-2006 07:30 PM
Re: Fbackup Graph File Question...
from "man fbackup"
"For example, to back up all of /usr except for the subtree /usr/lib, a file could be created with the following two records:
i /usr
e /usr/lib"
I read that to the reverse of your case, so it should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 07:41 PM
10-25-2006 07:41 PM
Re: Fbackup Graph File Question...
UPDATE
Have just tried it and :
"fbackup(1601): could not access -i/-e file /etc/ftpusers
fbackup(1421): no history is available for graph file /var/adm/fbackupfiles/graphs/euro_graph (below level 0)
fbackup(1004): session begins on Thu Oct 26 08:36:52 2006
fbackup(3205): WARNING: unable to read a volume header
fbackup(3024): writing volume 1 to the output file /dev/rmt/0m
1: / 4
2: /etc 12
3: /etc/group 1
4: /etc/passwd 5
fbackup(1005): run time: 35 seconds
fbackup(3055): total file blocks read for backup: 22
fbackup(3056): total blocks written to output file /dev/rmt/0m: 51
fbackup(1030): warnings encountered during backup"
So it certainly works! First error in my log only indicates that I don't have a /etc/ftpusers file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 04:43 AM
10-26-2006 04:43 AM
Re: Fbackup Graph File Question...
fbackup -v -f /tmp/test.fbackup -i /etc/vx
It turns out that you don't need to exclude a top level directory if you are just specifying specific files (like your example). Now in my example, /etc/vx contains several subdirectories so I could exclude a set of directories like this:
fbackup -v -f /tmp/test.fbackup -i /etc/vx -e /etc/vx/type
Note that you can also test frecover in the same way -- use a plain file rather than a tape. Test the -I and -V options for instance:
frecover -V - -f /tmp/test.fbackup
frecover -I - -f /tmp/test.fbackup
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2006 12:55 AM
10-30-2006 12:55 AM
Re: Fbackup Graph File Question...
are you happy with the answers and is your problem resolved ?
If so , please see:
http://forums1.itrc.hp.com/service/forums/helptips.do?#22