<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: fbackup ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650225#M240372</link>
    <description>depending on where the files are to backup and directories etc you may need to create a graph file listing the files to include ie if your files are several directories (see the man page)&lt;BR /&gt;&lt;BR /&gt;fbackup -g /graphfile -f /dev/rmt/?mn&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;fbackup -i /includefile -i /includefile -f /dev/rmt/?mn&lt;BR /&gt;&lt;BR /&gt;then to recover&lt;BR /&gt;&lt;BR /&gt;frecover -x -f /dev/rmt/?mn&lt;BR /&gt;&lt;BR /&gt;or you can use sam.&lt;BR /&gt;&lt;BR /&gt;the man pages are pretty comprehensive also.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
    <pubDate>Sat, 15 Oct 2005 21:44:21 GMT</pubDate>
    <dc:creator>lawrenzo</dc:creator>
    <dc:date>2005-10-15T21:44:21Z</dc:date>
    <item>
      <title>fbackup ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650224#M240371</link>
      <description>HP-UX B.11.11 U 9000/800/rp7410&lt;BR /&gt;&lt;BR /&gt;#######################################&lt;BR /&gt;Hello All,&lt;BR /&gt;&lt;BR /&gt;   I need to backup about 12 files to tape&lt;BR /&gt;to preserve the ACL's to restore to another system. I understand that fbackup preserves the ACL's ? I have not used fbackup before.&lt;BR /&gt;Can someone give me the correct commands to&lt;BR /&gt;use? Can I put the file names with there paths&lt;BR /&gt;in a file first, so they all go to tape? I will also need the commands to restore them to&lt;BR /&gt;the new system. My Ignite archinve using tar does not preserve the ACL's&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Jerry Sims&lt;BR /&gt;** edited to comply with forum guidelines **</description>
      <pubDate>Sat, 15 Oct 2005 20:34:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650224#M240371</guid>
      <dc:creator>Jerry_109</dc:creator>
      <dc:date>2005-10-15T20:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650225#M240372</link>
      <description>depending on where the files are to backup and directories etc you may need to create a graph file listing the files to include ie if your files are several directories (see the man page)&lt;BR /&gt;&lt;BR /&gt;fbackup -g /graphfile -f /dev/rmt/?mn&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;fbackup -i /includefile -i /includefile -f /dev/rmt/?mn&lt;BR /&gt;&lt;BR /&gt;then to recover&lt;BR /&gt;&lt;BR /&gt;frecover -x -f /dev/rmt/?mn&lt;BR /&gt;&lt;BR /&gt;or you can use sam.&lt;BR /&gt;&lt;BR /&gt;the man pages are pretty comprehensive also.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Sat, 15 Oct 2005 21:44:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650225#M240372</guid>
      <dc:creator>lawrenzo</dc:creator>
      <dc:date>2005-10-15T21:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650226#M240373</link>
      <description>hi Jerry&lt;BR /&gt;&lt;BR /&gt;Easiest way if you have 12 files is to create a /tmp/graphfile containing:&lt;BR /&gt;&lt;BR /&gt;i /directory/file1&lt;BR /&gt;i /directory/file2&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;i /directory/file12&lt;BR /&gt;&lt;BR /&gt;The fbackup command would then be&lt;BR /&gt;&lt;BR /&gt;fbackup -f /dev/rmt/&lt;N&gt;m -g /tmp/graphfile -v&lt;BR /&gt;&lt;BR /&gt;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.&lt;/N&gt;</description>
      <pubDate>Mon, 17 Oct 2005 01:45:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650226#M240373</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2005-10-17T01:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650227#M240374</link>
      <description>Seems like a lot to go through for so few files (unless they're really big).&lt;BR /&gt;&lt;BR /&gt;You may still be able to use tar. Check out the man page and see the -p option. That may help.&lt;BR /&gt;&lt;BR /&gt;==============================================================&lt;BR /&gt;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.&lt;BR /&gt;==============================================================</description>
      <pubDate>Mon, 17 Oct 2005 08:54:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650227#M240374</guid>
      <dc:creator>Andy Torres</dc:creator>
      <dc:date>2005-10-17T08:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650228#M240375</link>
      <description># tar -cvfp /dev/rmt/0m /etc/hosts.save&lt;BR /&gt;Optional acl entries for  not dumped&lt;BR /&gt;a /etc/hosts.save 36 blocks</description>
      <pubDate>Tue, 18 Oct 2005 10:11:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650228#M240375</guid>
      <dc:creator>Jerry_109</dc:creator>
      <dc:date>2005-10-18T10:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650229#M240376</link>
      <description>root@hohp101[/tmp/jerry]&lt;BR /&gt;# ls -la /tmp/jerry/makerec-acl.files.hohp101&lt;BR /&gt;-rw-r--r--   1 root       sys            245 Oct 19 06:57 /tmp/jerry/makerec-acl.files.hohp101&lt;BR /&gt;root@hohp101[/tmp/jerry]&lt;BR /&gt;# cat /tmp/jerry/makerec-acl.files.hohp101   &lt;BR /&gt; i /etc/hosts&lt;BR /&gt; i /etc/hosts.save&lt;BR /&gt; i /root/Failover/data/prod_hosts&lt;BR /&gt; i /usr/local/ovoscripts&lt;BR /&gt; i /usr/local/ovoscripts/try.pl&lt;BR /&gt; i /usr/local/ovoscripts/ovo_mail.pl&lt;BR /&gt; i /usr/local/ovoscripts/ovo_mail.pl.save&lt;BR /&gt; i /usr/local/ovoscripts/ovo_mail.pl.1220&lt;BR /&gt;root@hohp101[/tmp/jerry]&lt;BR /&gt;# fbackup  -f /dev/rmt/0mn -g /tmp/jerry/makerec-acl.files.hohp101 -v&lt;BR /&gt;fbackup(1427): illegal entry in graph file /tmp/jerry/makerec-acl.files.hohp101&lt;BR /&gt;fbackup(1404): no files have been specified; (use at least one -i and/or -g option)&lt;BR /&gt;usage: fbackup -f device [-f device] ... [-0-9] [-nsuvyAEl]&lt;BR /&gt;        [-i path] ... [-e path] ... [-g graph] ... [-d path] [-I path] [-V path] [-c config]&lt;BR /&gt;&lt;BR /&gt;usage: fbackup -f device [-f device] ... -R restart [-nsuvyAEl]&lt;BR /&gt;        [-d path] [-I path] [-V path] [-c config]&lt;BR /&gt;&lt;BR /&gt;root@hohp101[/tmp/jerry]&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Oct 2005 08:59:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650229#M240376</guid>
      <dc:creator>Jerry_109</dc:creator>
      <dc:date>2005-10-19T08:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650230#M240377</link>
      <description>How did you make the makerec-acl.files.hohp101 file. Did you create using a HP editor , e.g. vi or did you create on a Windows machine and ftp over? Looking at your post I can't understand why you have a problem as the format looks correct e.g &lt;BR /&gt;i /etc/host   with a space between i and /etc.&lt;BR /&gt;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.</description>
      <pubDate>Wed, 19 Oct 2005 09:38:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650230#M240377</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2005-10-19T09:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650231#M240378</link>
      <description>used vi on hp-ux 11i server:&lt;BR /&gt;# cd /tmp/jerry&lt;BR /&gt;root@hohp101[/tmp/jerry]&lt;BR /&gt;# ll&lt;BR /&gt;total 32&lt;BR /&gt;-rw-r--r--   1 root       sys            245 Oct 19 06:57 makerec-acl.files.hohp101&lt;BR /&gt;-rw-r--r--   1 root       sys            969 Oct 18 07:51 makerec-acl.files.hohp101.getacl&lt;BR /&gt;root@hohp101[/tmp/jerry]&lt;BR /&gt;# cat makerec-acl.files.hohp101&lt;BR /&gt; i /etc/hosts&lt;BR /&gt; i /etc/hosts.save&lt;BR /&gt; i /root/Failover/data/prod_hosts&lt;BR /&gt; i /usr/local/ovoscripts&lt;BR /&gt; i /usr/local/ovoscripts/try.pl&lt;BR /&gt; i /usr/local/ovoscripts/ovo_mail.pl&lt;BR /&gt; i /usr/local/ovoscripts/ovo_mail.pl.save&lt;BR /&gt; i /usr/local/ovoscripts/ovo_mail.pl.1220&lt;BR /&gt;root@hohp101[/tmp/jerry]</description>
      <pubDate>Wed, 19 Oct 2005 09:43:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650231#M240378</guid>
      <dc:creator>Jerry_109</dc:creator>
      <dc:date>2005-10-19T09:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650232#M240379</link>
      <description>fbackup works fine now. I had a space in befor the "i" which caused problems.&lt;BR /&gt;&lt;BR /&gt;Thnaks.&lt;BR /&gt;&lt;BR /&gt;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 ?</description>
      <pubDate>Wed, 19 Oct 2005 10:01:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650232#M240379</guid>
      <dc:creator>Jerry_109</dc:creator>
      <dc:date>2005-10-19T10:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650233#M240380</link>
      <description>This is my output from a similar exercise&lt;BR /&gt;&lt;BR /&gt;cally:/tmp # fbackup -f /tmp/backupfile -g /tmp/makerec-acl.files.hohp101 -v&lt;BR /&gt;fbackup(1601): could not access -i/-e file /tmp/xxx&lt;BR /&gt;fbackup(1417): cannot open the dates file /var/adm/fbackupfiles/dates for readin&lt;BR /&gt;g&lt;BR /&gt;fbackup(1004): session begins on Wed Oct 19 16:02:15 2005&lt;BR /&gt;fbackup(3024): writing volume 1 to the output file /tmp/backupfile&lt;BR /&gt;    1: / 4&lt;BR /&gt;    2: /tmp 6&lt;BR /&gt;    3: /tmp/procman.log 876&lt;BR /&gt;fbackup(1005): run time: 2 seconds&lt;BR /&gt;fbackup(3055): total file blocks read for backup: 886&lt;BR /&gt;fbackup(3056): total blocks written to output file /tmp/backupfile: 908&lt;BR /&gt;cally:/tmp # cat makerec-acl.files.hohp101&lt;BR /&gt;i /tmp/xxx&lt;BR /&gt;i /tmp/procman.log&lt;BR /&gt;cally:/tmp #&lt;BR /&gt;&lt;BR /&gt;/tmp/xxx was a deliberate invalid file name.&lt;BR /&gt;&lt;BR /&gt;As you can see my fbackup command was identicle to yours except I sent my output to a file instead of tape.</description>
      <pubDate>Wed, 19 Oct 2005 10:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650233#M240380</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2005-10-19T10:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650234#M240381</link>
      <description>frecover -I /tmp/&lt;FILENAME&gt; -f /dev/rmt/0mn -v&lt;BR /&gt;This will create a file called &lt;FILENAME&gt; containing the index of the tape.&lt;BR /&gt;&lt;BR /&gt;You could also make a temp directory and use frecover -F -r -f /dev/rmt/0m -v from within the temp directory. This will recover the files without the leading directories.&lt;/FILENAME&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Wed, 19 Oct 2005 10:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650234#M240381</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2005-10-19T10:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650235#M240382</link>
      <description>frecover has two very useful options: -I and -V. These are both UPPERCASE. -V will show the label on the tape (date, time, etc) and -I will list the contents. Start with -V as in:&lt;BR /&gt; &lt;BR /&gt;frecover -V - -f /dev/rmt/0m&lt;BR /&gt; &lt;BR /&gt;Notice the -V -? The lone - indicates that the tape volume label is to be sent to stdout (your screen). Getting the table of contents is almost the same:&lt;BR /&gt; &lt;BR /&gt;frecover -I - -f /dev/rmt/0m&lt;BR /&gt; &lt;BR /&gt;For a small backup, this is the simplest way. For a backup with thousands of files, replace the - with a temp filename so you can look at it with vi or user grap as needed.</description>
      <pubDate>Wed, 19 Oct 2005 12:52:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup/m-p/3650235#M240382</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-10-19T12:52:31Z</dc:date>
    </item>
  </channel>
</rss>

