<?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 and NAS in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-and-nas/m-p/6043607#M483974</link>
    <description>&lt;P&gt;&amp;gt; Apart of this problem, what still remains is the authentication problem, since the NFS share can be root mounted&lt;/P&gt;&lt;P&gt;&amp;gt; from "my" server, but I cannot read or write on it, since for this permits I need to be logged on the NFS share as&lt;/P&gt;&lt;P&gt;&amp;gt; a Windows domain user. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no such thing as "logging on the NFS share as a particular user": the NFS protocol simply does not work that way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The NFS server may require a Kerberos-based NFS security mode, which probably means that the HP-UX system would have to be added to the Active Directory and receiving Kerberos tickets from it. In that case, write access would only be granted to Unix users holding a valid Kerberos ticket matching the appropriate AD user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, the NAS would also need to have some way of mapping the Unix UID of the user to the corresponding Windows account. Otherwise it is likely to regard all the incoming write operations as being done by the anonymous user (usually user "nobody" in Unix world, the closest equivalent in Windows terms would probably be the "guest" user).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are instructions for using Kerberos authentication with a Windows-based NFS server. They might be enlightening in your case too, as your NAS seems to be rather strongly Windows-oriented (at least in its current configuration):&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.technet.com/b/filecab/archive/2010/05/13/using-kerberos-security-with-server-for-nfs.aspx" target="_blank"&gt;http://blogs.technet.com/b/filecab/archive/2010/05/13/using-kerberos-security-with-server-for-nfs.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without more details on what your NAS actually is and how it is configured, it will be hard to give any more specific advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think make_net_recovery requires that the remote server is an Ignite-UX server. It won't work with just any NFS server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, a backup created by make_net_recovery is very suitable for restoring the server in an all-or-nothing fashion, but very inconvenient if you only need to restore a single filesystem or even a single file from backups.&lt;/P&gt;&lt;P&gt;If your server handles non-negligible amounts of data, you really want some way to take incremental backups, or the time and storage space requirements for your backups are going to be very inconvenient.&lt;/P&gt;</description>
    <pubDate>Sat, 27 Apr 2013 09:27:57 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2013-04-27T09:27:57Z</dc:date>
    <item>
      <title>fbackup and NAS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-and-nas/m-p/6038391#M483920</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have on an HP-UX 11.31 RISC server a DAT/DDS tape drive, and all of my backups are done through the fbackup command on this device. All is working fine, but recently someone told me about the availability of some hard drive space on a NAS available in our network.&lt;/P&gt;&lt;P&gt;This external volume has been made available for me as a NFS volume, or eventually also as a CIFS volume. In both cases my windows domain username was mandatory to read/write on this volume.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to do (almost) all of my backups on this NAS, but I don't know how to proceed. I hope I can reuse some of the backup scripts already created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody please point me in the right direction with a few brief suggestion(s) ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enrico&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2013 12:36:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-and-nas/m-p/6038391#M483920</guid>
      <dc:creator>enrico.nic</dc:creator>
      <dc:date>2013-04-23T12:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup and NAS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-and-nas/m-p/6038969#M483928</link>
      <description>&lt;P&gt;fbackup has the ability to write to a file on disk. &amp;nbsp;Instead of specifying a tape device (for example - 'fbackup -f /dev/rmt/0m') you can specify a disk device (for example - 'fbackup -f /backup/dir/20130423.fbackup' ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's an example where I'm backing up my /tmp directory to a file in /var/tmp:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# bdf /tmp&lt;BR /&gt;Filesystem kbytes used avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol6 1048576 397320 648216 38% /tmp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# bdf /var&lt;BR /&gt;Filesystem kbytes used avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol8 6160384 3813144 2337472 62% /var&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# fbackup -f /var/tmp/test.fbackup -c /etc/fbackup.conf -i /tmp&lt;BR /&gt;fbackup(1004): session begins on Tue Apr 23 16:22:22 2013&lt;BR /&gt;fbackup(3024): writing volume 1 to the output file /var/tmp/test.fbackup&lt;BR /&gt;fbackup(3055): total file blocks read for backup: 764734&lt;BR /&gt;fbackup(3056): total blocks written to output file /var/tmp/test.fbackup: 772768&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# ll /var/tmp/test.fbackup&lt;BR /&gt;-rw------- 1 root sys 395657216 Apr 23 16:23 /var/tmp/test.fbackup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Checking the header on the file written:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# frecover -V - -f /var/tmp/test.fbackup&lt;BR /&gt;Magic Field:FBACKUP_LABEL&lt;BR /&gt;Machine Identification:9000/800&lt;BR /&gt;System Identification:HP-UX&lt;BR /&gt;Release Identification:B.11.11&lt;BR /&gt;Node Identification:ftp&lt;BR /&gt;User Identification:root&lt;BR /&gt;Record Size:4194304&lt;BR /&gt;Time:Tue Apr 23 16:22:22 2013&lt;BR /&gt;Media Use:0&lt;BR /&gt;Volume Number:1&lt;BR /&gt;Checkpoint Frequency:8192&lt;BR /&gt;Fast Search Mark Frequency:5000&lt;BR /&gt;Index Size:100512&lt;BR /&gt;Backup Identification Tag:1626 1366752142&lt;BR /&gt;Language:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting the list of files from the fbackup INDEX:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# frecover -I /tmp/pwfile -f /var/tmp/test.fbackup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# wc -l /tmp/pwfile&lt;BR /&gt;1598 /tmp/pwfile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# head /tmp/pwfile&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;8192 1 /&lt;/SPAN&gt;&lt;BR /&gt;8192 1 /tmp&lt;BR /&gt;8192 1 /tmp/!p4.d&lt;BR /&gt;36864 1 /tmp/!p4.d/ipf.p4:00000005&lt;BR /&gt;24576 1 /tmp/!p4.d/pfil.p4:00000083&lt;BR /&gt;29 1 /tmp/!p4.d/signature&lt;BR /&gt;1548288 1 /tmp/!p4.d/vmunix.p4:0000006d&lt;BR /&gt;96 1 /tmp/.AgentSockets&lt;BR /&gt;0 1 /tmp/.AgentSockets/A&lt;BR /&gt;0 1 /tmp/.VRTSisisshmem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When specifying a device file you may want to use unique files for each day, so you don't accidentally overwrite a backup you need. &amp;nbsp;For example, in a script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FILE=$(date +%Y%m%d).fbackup&lt;/P&gt;&lt;P&gt;fbackup -f ${FILE}&amp;nbsp;&lt;SPAN&gt;-c /etc/fbackup.conf -i /tmp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2013 21:34:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-and-nas/m-p/6038969#M483928</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2013-04-23T21:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup and NAS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-and-nas/m-p/6042593#M483964</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help, and for the complete procedure.&lt;/P&gt;&lt;P&gt;Anyway, I've readed elsewhere (&lt;A target="_blank" href="https://community.hpe.com/t5/Networking/fbackup-with-NFS/m-p/2552158/highlight/true#M4645"&gt;http://h30499.www3.hp.com/t5/Networking/fbackup-with-NFS/m-p/2552158/highlight/true#M4645&lt;/A&gt;) that a direct backup with fbackup to a NFS share is NOT suggested, for performance and security reasons. In this old discussion was suggested to use the remote magtape capability of "fbackup", but I think it is not my case since there is no HP-UX capabilities on the NFS server (it is a non-HP NAS).&lt;/P&gt;&lt;P&gt;Apart of this problem, what still remains is the authentication problem, since the NFS share can be root mounted from "my" server, but I cannot read or write on it, since for this permits I need to be logged on the NFS share as a Windows domain user. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anybody of you (please!) another suggestion ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking about the make_net_recovery utility; it can be launched to store all the file systems on the remote server, but I believe it cannot be used for regular backups. And, of course, the "authentication problem" will still remain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enrico&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2013 08:53:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-and-nas/m-p/6042593#M483964</guid>
      <dc:creator>enrico.nic</dc:creator>
      <dc:date>2013-04-26T08:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup and NAS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-and-nas/m-p/6043607#M483974</link>
      <description>&lt;P&gt;&amp;gt; Apart of this problem, what still remains is the authentication problem, since the NFS share can be root mounted&lt;/P&gt;&lt;P&gt;&amp;gt; from "my" server, but I cannot read or write on it, since for this permits I need to be logged on the NFS share as&lt;/P&gt;&lt;P&gt;&amp;gt; a Windows domain user. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no such thing as "logging on the NFS share as a particular user": the NFS protocol simply does not work that way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The NFS server may require a Kerberos-based NFS security mode, which probably means that the HP-UX system would have to be added to the Active Directory and receiving Kerberos tickets from it. In that case, write access would only be granted to Unix users holding a valid Kerberos ticket matching the appropriate AD user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, the NAS would also need to have some way of mapping the Unix UID of the user to the corresponding Windows account. Otherwise it is likely to regard all the incoming write operations as being done by the anonymous user (usually user "nobody" in Unix world, the closest equivalent in Windows terms would probably be the "guest" user).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are instructions for using Kerberos authentication with a Windows-based NFS server. They might be enlightening in your case too, as your NAS seems to be rather strongly Windows-oriented (at least in its current configuration):&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.technet.com/b/filecab/archive/2010/05/13/using-kerberos-security-with-server-for-nfs.aspx" target="_blank"&gt;http://blogs.technet.com/b/filecab/archive/2010/05/13/using-kerberos-security-with-server-for-nfs.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without more details on what your NAS actually is and how it is configured, it will be hard to give any more specific advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think make_net_recovery requires that the remote server is an Ignite-UX server. It won't work with just any NFS server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, a backup created by make_net_recovery is very suitable for restoring the server in an all-or-nothing fashion, but very inconvenient if you only need to restore a single filesystem or even a single file from backups.&lt;/P&gt;&lt;P&gt;If your server handles non-negligible amounts of data, you really want some way to take incremental backups, or the time and storage space requirements for your backups are going to be very inconvenient.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2013 09:27:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-and-nas/m-p/6043607#M483974</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2013-04-27T09:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup and NAS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-and-nas/m-p/6047037#M483993</link>
      <description>&lt;P&gt;Thank you, really nice document about NFS. It seems I can authenticate easily on this windows-like-nfs server through Kerberos, I will test this in the next few days.&lt;/P&gt;&lt;P&gt;A (really last!) question: can anybody please give me an advice about a fbackup alternative to save backups on an NFS server ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2013 14:11:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-and-nas/m-p/6047037#M483993</guid>
      <dc:creator>enrico.nic</dc:creator>
      <dc:date>2013-04-30T14:11:37Z</dc:date>
    </item>
  </channel>
</rss>

