<?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 using sam in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437248#M5676</link>
    <description>Thanks for all the help given.&lt;BR /&gt;&lt;BR /&gt;I tried restoring files from the tape and compared them to the existing one in the system and they are the same.</description>
    <pubDate>Tue, 22 Aug 2000 08:12:38 GMT</pubDate>
    <dc:creator>Ng Pea Har</dc:creator>
    <dc:date>2000-08-22T08:12:38Z</dc:date>
    <item>
      <title>fbackup using sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437242#M5670</link>
      <description>I scheduled a backup using sam to run at 23:55 everynight and I get these in my mail box after the backup:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;br_backup: Invoking fbackup. See /var/sam/log/br_log for details.&lt;BR /&gt;fbackup(1004): session begins on Wed Aug 16 23:55:01 2000&lt;BR /&gt;fbackup(3203): volume 1 has been used 4 time(s)&lt;BR /&gt;fbackup(3024): writing volume 1 to the output file /dev/rmt/0m&lt;BR /&gt;fbackup(3007): WARNING: File number 2 (/home)&lt;BR /&gt;        was active during attempt number 1&lt;BR /&gt;fbackup(1301): resuming at file 2&lt;BR /&gt;fbackup(3007): WARNING: File number 2 (/home)&lt;BR /&gt;        was active during attempt number 2&lt;BR /&gt;fbackup(1301): resuming at file 2&lt;BR /&gt;fbackup(3007): WARNING: File number 2 (/home)&lt;BR /&gt;        was active during attempt number 3&lt;BR /&gt;fbackup(1301): resuming at file 2&lt;BR /&gt;fbackup(3007): WARNING: File number 2 (/home)&lt;BR /&gt;        was active during attempt number 4&lt;BR /&gt;fbackup(1301): resuming at file 2&lt;BR /&gt;fbackup(3007): WARNING: File number 2 (/home)&lt;BR /&gt;        was active during attempt number 5&lt;BR /&gt;fbackup(1301): resuming at file 2&lt;BR /&gt;fbackup(3009): WARNING: File number 2 (/home)&lt;BR /&gt;        was not successfully backed up&lt;BR /&gt;&lt;BR /&gt;/var/sam/log/br_log shows exit_code 0 which means that the backup was successfully but why the mail box last sentence says "was not sucessfully backup up" and what is the warning "was active during attempt number 5"? &lt;BR /&gt;&lt;BR /&gt;The directory I backup is nfs mounted. Both systems are HPUX 10.20. How can I be sure that the backup is reliable. &lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 17 Aug 2000 02:20:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437242#M5670</guid>
      <dc:creator>Ng Pea Har</dc:creator>
      <dc:date>2000-08-17T02:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup using sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437243#M5671</link>
      <description>Hi,&lt;BR /&gt;Since your message is just a WARNING not an ERROR and more over the exit code is 0,I think you can rely on it.&lt;BR /&gt;We also get such types of warning even with exit code 4 still it works fine.&lt;BR /&gt;Thanks&lt;BR /&gt;Animesh</description>
      <pubDate>Thu, 17 Aug 2000 02:41:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437243#M5671</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2000-08-17T02:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup using sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437244#M5672</link>
      <description>Ng:&lt;BR /&gt;&lt;BR /&gt;It appears that the /home has files that are open while fbackup is running.... you get that message if a file keeps changing while the backup is going on.&lt;BR /&gt;&lt;BR /&gt;Find out what programs are running... that may be writing to /home ... use:&lt;BR /&gt;&lt;BR /&gt;fuser -cu /home&lt;BR /&gt;&lt;BR /&gt;it will list process id and you can find out the actual programs by using grep</description>
      <pubDate>Thu, 17 Aug 2000 02:44:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437244#M5672</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-08-17T02:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup using sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437245#M5673</link>
      <description>The warnings came from the open files that you have. fbackup doesn't backup up opened files. The backup session itself ginished successful, but the specific files that were opened are not backup.&lt;BR /&gt;This is why, usually, for a trusted backup, some of sys admin. go to single user mode, or just shutdown applications, or schedule the backup at that time when there are no users/apps runing in the box.&lt;BR /&gt;You said is a nfs sys that you are backing up. Do you export that /home file system with root access? (Does root from the box were you perform the backup have r/w access to the remote /home fs?). I guess, fbackup need it.&lt;BR /&gt;May I ask you why do not perform a local backup in that box? If doesn't have tape drive is not a problem, fbackup can work remotelly.</description>
      <pubDate>Thu, 17 Aug 2000 02:55:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437245#M5673</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-08-17T02:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup using sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437246#M5674</link>
      <description>Hi Ng Pea,&lt;BR /&gt;&lt;BR /&gt;You can use fuser -k /home to kill the processes in that directory and then include umount in the cron to execute at 23:40 and then mount back at 23:45.&lt;BR /&gt;A simple cron addition of the fuser, umount and mount commands should help you out.&lt;BR /&gt;&lt;BR /&gt;35 23 * * * fuser -k /home&lt;BR /&gt;40 23 * * * umount /home&lt;BR /&gt;45 23 * * * mount /home&lt;BR /&gt;55 23 * * * (your backup command)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Aug 2000 05:30:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437246#M5674</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-08-17T05:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup using sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437247#M5675</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Here is what fbackup does when it backs up a file:&lt;BR /&gt;&lt;BR /&gt;1) The modify timestamp of the file is checked&lt;BR /&gt;2) The file is written to the tape&lt;BR /&gt;3) The modify timestamp of the file is checked again and compared with the timestamp from step 1). &lt;BR /&gt;4) If the two timestamps are different then fbackup will decide that the file was modified while it was being backed up and the copy on the tape is bad. &lt;BR /&gt;5) fbackup starts again at step 1). fbackup will try a number of times (it looks like 5 times fromthe original message). The modify timestamp of the file at the start and end of being backed up must must be identical for fbackup to consider that it has been written correctly to tape.&lt;BR /&gt;&lt;BR /&gt;The above behaviour has the following consequences.&lt;BR /&gt;&lt;BR /&gt;a) If after 5 times fbackup was not able to write the file to tape without the timestamp changing (ie something modified the file) then the file will not be recoverable from the tape using frecover, i.e. the file appears to have not been backed up at all.&lt;BR /&gt;&lt;BR /&gt;b) each time fbackup retries, the entire file is written to the tape. If fbackup retries 5 times there 5 copies of the file on tape. Only the last succesful retry will be recoverable. In the case above the last retry was unsuccesful so there are 5 copies of the file, non of them are recoverable using frecover. &lt;BR /&gt;&lt;BR /&gt;c) if there are many files or large files being modified while fbackup is writing them to tape then you will waste a lot of time and tape. If the file being backed up is 1GB in size then it would have wasted 5GB of tape and still be unrecoverable from the tape.&lt;BR /&gt;&lt;BR /&gt;As an earlier post suggested it is better to make sure that any applications or users are not allowed to modify files while they are being backed up.&lt;BR /&gt;&lt;BR /&gt;Regards,  Trevor</description>
      <pubDate>Thu, 17 Aug 2000 09:48:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437247#M5675</guid>
      <dc:creator>Trevor Dyson</dc:creator>
      <dc:date>2000-08-17T09:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup using sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437248#M5676</link>
      <description>Thanks for all the help given.&lt;BR /&gt;&lt;BR /&gt;I tried restoring files from the tape and compared them to the existing one in the system and they are the same.</description>
      <pubDate>Tue, 22 Aug 2000 08:12:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-using-sam/m-p/2437248#M5676</guid>
      <dc:creator>Ng Pea Har</dc:creator>
      <dc:date>2000-08-22T08:12:38Z</dc:date>
    </item>
  </channel>
</rss>

