- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fbackup ?
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
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
тАО10-15-2005 01:34 PM
тАО10-15-2005 01:34 PM
#######################################
Hello All,
I need to backup about 12 files to tape
to preserve the ACL's to restore to another system. I understand that fbackup preserves the ACL's ? I have not used fbackup before.
Can someone give me the correct commands to
use? Can I put the file names with there paths
in a file first, so they all go to tape? I will also need the commands to restore them to
the new system. My Ignite archinve using tar does not preserve the ACL's
Thanks
Jerry Sims
** edited to comply with forum guidelines **
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2005 02:44 PM
тАО10-15-2005 02:44 PM
Solutionfbackup -g /graphfile -f /dev/rmt/?mn
or
fbackup -i /includefile -i /includefile -f /dev/rmt/?mn
then to recover
frecover -x -f /dev/rmt/?mn
or you can use sam.
the man pages are pretty comprehensive also.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2005 06:45 PM
тАО10-16-2005 06:45 PM
Re: fbackup ?
Easiest way if you have 12 files is to create a /tmp/graphfile containing:
i /directory/file1
i /directory/file2
.
.
i /directory/file12
The fbackup command would then be
fbackup -f /dev/rmt/
To be honnest I thought tar did preserve ACL's. It may be that ignite does not use tar but pax which may loose the ACL's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2005 01:54 AM
тАО10-17-2005 01:54 AM
Re: fbackup ?
You may still be able to use tar. Check out the man page and see the -p option. That may help.
==============================================================
p Cause file to be restored to the original modes and ownerships written on the archive, if possible. This is the default for the superuser, and can be overridden by the o function modifier. If system protections prevent the ordinary user from executing chown(), the error is ignored, and the ownership is set to that of the restoring process (see chown(2)). The set-user-id, set-group-id, and sticky bit information are restored as allowed by the protections defined by chmod() if the chown() operation above succeeds.
==============================================================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2005 03:11 AM
тАО10-18-2005 03:11 AM
Re: fbackup ?
Optional acl entries for not dumped
a /etc/hosts.save 36 blocks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 01:59 AM
тАО10-19-2005 01:59 AM
Re: fbackup ?
# ls -la /tmp/jerry/makerec-acl.files.hohp101
-rw-r--r-- 1 root sys 245 Oct 19 06:57 /tmp/jerry/makerec-acl.files.hohp101
root@hohp101[/tmp/jerry]
# cat /tmp/jerry/makerec-acl.files.hohp101
i /etc/hosts
i /etc/hosts.save
i /root/Failover/data/prod_hosts
i /usr/local/ovoscripts
i /usr/local/ovoscripts/try.pl
i /usr/local/ovoscripts/ovo_mail.pl
i /usr/local/ovoscripts/ovo_mail.pl.save
i /usr/local/ovoscripts/ovo_mail.pl.1220
root@hohp101[/tmp/jerry]
# fbackup -f /dev/rmt/0mn -g /tmp/jerry/makerec-acl.files.hohp101 -v
fbackup(1427): illegal entry in graph file /tmp/jerry/makerec-acl.files.hohp101
fbackup(1404): no files have been specified; (use at least one -i and/or -g option)
usage: fbackup -f device [-f device] ... [-0-9] [-nsuvyAEl]
[-i path] ... [-e path] ... [-g graph] ... [-d path] [-I path] [-V path] [-c config]
usage: fbackup -f device [-f device] ... -R restart [-nsuvyAEl]
[-d path] [-I path] [-V path] [-c config]
root@hohp101[/tmp/jerry]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 02:38 AM
тАО10-19-2005 02:38 AM
Re: fbackup ?
i /etc/host with a space between i and /etc.
If you created on a Windows machine you may have a ^M at the end of the line which is causing the problem which does not show if you cat the file, but you can tell if you vi or view the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 02:43 AM
тАО10-19-2005 02:43 AM
Re: fbackup ?
# cd /tmp/jerry
root@hohp101[/tmp/jerry]
# ll
total 32
-rw-r--r-- 1 root sys 245 Oct 19 06:57 makerec-acl.files.hohp101
-rw-r--r-- 1 root sys 969 Oct 18 07:51 makerec-acl.files.hohp101.getacl
root@hohp101[/tmp/jerry]
# cat makerec-acl.files.hohp101
i /etc/hosts
i /etc/hosts.save
i /root/Failover/data/prod_hosts
i /usr/local/ovoscripts
i /usr/local/ovoscripts/try.pl
i /usr/local/ovoscripts/ovo_mail.pl
i /usr/local/ovoscripts/ovo_mail.pl.save
i /usr/local/ovoscripts/ovo_mail.pl.1220
root@hohp101[/tmp/jerry]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 03:01 AM
тАО10-19-2005 03:01 AM
Re: fbackup ?
Thnaks.
I will now take the tape to another system, and try the frecover. Is there a way to read the tape to verify the contents ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 03:13 AM
тАО10-19-2005 03:13 AM
Re: fbackup ?
cally:/tmp # fbackup -f /tmp/backupfile -g /tmp/makerec-acl.files.hohp101 -v
fbackup(1601): could not access -i/-e file /tmp/xxx
fbackup(1417): cannot open the dates file /var/adm/fbackupfiles/dates for readin
g
fbackup(1004): session begins on Wed Oct 19 16:02:15 2005
fbackup(3024): writing volume 1 to the output file /tmp/backupfile
1: / 4
2: /tmp 6
3: /tmp/procman.log 876
fbackup(1005): run time: 2 seconds
fbackup(3055): total file blocks read for backup: 886
fbackup(3056): total blocks written to output file /tmp/backupfile: 908
cally:/tmp # cat makerec-acl.files.hohp101
i /tmp/xxx
i /tmp/procman.log
cally:/tmp #
/tmp/xxx was a deliberate invalid file name.
As you can see my fbackup command was identicle to yours except I sent my output to a file instead of tape.