<?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: Backup Procedure, Full and Intermidiate backup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-procedure-full-and-intermidiate-backup/m-p/3858064#M276181</link>
    <description>Hi,&lt;BR /&gt;fbackup / frecover is the hpux tools for files backup. here a adaptation of my scripts for full and incremental backup on tape (hpux 11.11). Replace /dev/rmt/c0t1d0BEST by your tape device. A folder /var/adm/fbackupfiles must be created before fbackup (for file dates managed by fbackup for incrementals backup)&lt;BR /&gt;man frecover and fbackup for details.&lt;BR /&gt;for system backup/recovery use make_tape_recovery : /opt/ignite/bin/make_tape_recovery -I -v -x inc_entire=vg00 -a /dev/rmt/0mn&lt;BR /&gt;man make_tape_recovery&lt;BR /&gt;&lt;BR /&gt;#! /usr/bin/ksh -x &lt;BR /&gt;# full backup &lt;BR /&gt;# =========== &lt;BR /&gt;echo "\nStart fullbackup $(date)" &lt;BR /&gt;&lt;BR /&gt;echo "i /" &amp;gt; /tmp/fbackup_total &lt;BR /&gt;&lt;BR /&gt;# list of saved files &lt;BR /&gt;export Ifile=/tmp/fbackup_0_$(date +%y%m%d)_$(date +%H%M).lst &lt;BR /&gt;set +e &lt;BR /&gt;/usr/sbin/fbackup -f /dev/rmt/c0t1d0BEST -0 -u -g/tmp/fbackup_total -I$Ifile 1&amp;gt;/tmp/fbackup.msg 2&amp;gt;&amp;amp;1 &lt;BR /&gt;code=$? &lt;BR /&gt;cat /tmp/fbackup.msg &lt;BR /&gt;set +x &lt;BR /&gt;&lt;BR /&gt;# handle return code &lt;BR /&gt;if (( $code == 0 )) ; then &lt;BR /&gt;echo "fbackup good ended" &lt;BR /&gt;elif (( $code == 4 )) ; then &lt;BR /&gt;echo "fbackup ended with warnings" &lt;BR /&gt;else &lt;BR /&gt;echo "fbackup error" &lt;BR /&gt;echo "fbackup failed on $(hostname). see /tmp/fbackup.msg" | mail root &lt;BR /&gt;exit $code &lt;BR /&gt;fi &lt;BR /&gt;&lt;BR /&gt;echo "End fullbackup $(date)" &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#! /usr/bin/ksh -x &lt;BR /&gt;# partial backup, changes since level 0. &lt;BR /&gt;# =================================================== &lt;BR /&gt;echo "\nStart partbackup $(date)" &lt;BR /&gt;&lt;BR /&gt;echo "i /" &amp;gt; /tmp/fbackup_total &lt;BR /&gt;&lt;BR /&gt;# list of saved files &lt;BR /&gt;export Ifile=/tmp/fbackup_1_$(date +%y%m%d)_$(date +%H%M).lst &lt;BR /&gt;set +e &lt;BR /&gt;/usr/sbin/fbackup -f /dev/rmt/c0t1d0BEST -1 -u -g/tmp/fbackup_total -I$Ifile 1&amp;gt;/tmp/fbackup.msg 2&amp;gt;&amp;amp;1 &lt;BR /&gt;code=$? &lt;BR /&gt;cat /tmp/fbackup.msg &lt;BR /&gt;set +x &lt;BR /&gt;&lt;BR /&gt;# handle return code &lt;BR /&gt;if (( $code == 0 )) ; then &lt;BR /&gt;echo "fbackup good ended" &lt;BR /&gt;elif (( $code == 4 )) ; then &lt;BR /&gt;echo "fbackup ended with warnings" &lt;BR /&gt;else &lt;BR /&gt;echo "fbackup error" &lt;BR /&gt;echo "fbackup failed on $(hostname). see /tmp/fbackup.msg" | mail root &lt;BR /&gt;exit $code &lt;BR /&gt;fi &lt;BR /&gt;&lt;BR /&gt;echo "End partbackup $(date)" &lt;BR /&gt;&lt;BR /&gt;Joel</description>
    <pubDate>Fri, 08 Sep 2006 03:38:42 GMT</pubDate>
    <dc:creator>Joel Girot</dc:creator>
    <dc:date>2006-09-08T03:38:42Z</dc:date>
    <item>
      <title>Backup Procedure, Full and Intermidiate backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-procedure-full-and-intermidiate-backup/m-p/3858062#M276179</link>
      <description>Hi Gurus....&lt;BR /&gt;I'm quit new to HP-Ux system.&lt;BR /&gt;I need info regarding the backup procedure since the server never get a hot or cold backup. Can u guide me or attach related document on backup procedure.&lt;BR /&gt;&lt;BR /&gt;As far as i know, i want to take a full backupup which is make_tape_recovery.&lt;BR /&gt;As far as i know, it only covers vg00. How about the other vg?&lt;BR /&gt;$make_tape_recovery -A&lt;BR /&gt;&lt;BR /&gt;Below is the bdf command. I need a full backup and procedure to do the backup.&lt;BR /&gt;# bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     204800  141856   62832   69% /&lt;BR /&gt;/dev/vg00/lvol1     298928  153008  116024   57% /stand&lt;BR /&gt;/dev/vg00/lvol8    4710400  874752 3812472   19% /var&lt;BR /&gt;/dev/vg00/lvol7    2244608 1306984  930320   58% /usr&lt;BR /&gt;/dev/vg00/lvol4     204800   37640  166064   18% /tmp&lt;BR /&gt;/dev/vg00/lvol6    2727936 2418512  307048   89% /opt&lt;BR /&gt;/dev/vg00/lvol5      24576    2336   22072   10% /home&lt;BR /&gt;/dev/vg02/lvol1    46080000 28569472 17373784   62% /cramerdb&lt;BR /&gt;/dev/vg01/lvol2    16384000 10229190 5975568   63% /cramerapps&lt;BR /&gt;#</description>
      <pubDate>Wed, 06 Sep 2006 21:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-procedure-full-and-intermidiate-backup/m-p/3858062#M276179</guid>
      <dc:creator>Mohd Azril Dollah</dc:creator>
      <dc:date>2006-09-06T21:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Backup Procedure, Full and Intermidiate backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-procedure-full-and-intermidiate-backup/m-p/3858063#M276180</link>
      <description>Make_tape_recovery is really only intended for vg00 which should be the OS and the standard applications (ie, those supplied by HP and/or installed with swinstall) and nothing else. This backup is really for the recovery of the OS. The other VG's and vg00 should be backed up using traditional backup tools like tar, cpio, or fbackup/frecover. Fbackup/frecover is, by far, the best of the free tools for HP-UX. It will handle large files, full and incremental backups, and is fast. Man fbackup/frecover for details.&lt;BR /&gt;&lt;BR /&gt;As for hold vs. cold backup, that is determined by your applications. If the applications must be shutdown then a so-called "cold" backup is needed; if not, then you simply start the backup and the application can be put in some sort ot backup mode so that recovery to a sane state is possible. You can also consider, stopping the application, creating a vxfs snapshot of the relavent filesystems, and restart the application. You then backup the snapshots while the application runs.&lt;BR /&gt;&lt;BR /&gt;If you really care about backups (and you should) then you should really look at a commercial product like Data Protector. This can enable you to completely automate your backups and do "point-and-click" restores without ever having to look for tapes.&lt;BR /&gt;&lt;BR /&gt;The subject of backup and recovery is much too system/application specific to be addressed well in a forum like this.&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Sep 2006 21:53:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-procedure-full-and-intermidiate-backup/m-p/3858063#M276180</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-09-06T21:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Backup Procedure, Full and Intermidiate backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-procedure-full-and-intermidiate-backup/m-p/3858064#M276181</link>
      <description>Hi,&lt;BR /&gt;fbackup / frecover is the hpux tools for files backup. here a adaptation of my scripts for full and incremental backup on tape (hpux 11.11). Replace /dev/rmt/c0t1d0BEST by your tape device. A folder /var/adm/fbackupfiles must be created before fbackup (for file dates managed by fbackup for incrementals backup)&lt;BR /&gt;man frecover and fbackup for details.&lt;BR /&gt;for system backup/recovery use make_tape_recovery : /opt/ignite/bin/make_tape_recovery -I -v -x inc_entire=vg00 -a /dev/rmt/0mn&lt;BR /&gt;man make_tape_recovery&lt;BR /&gt;&lt;BR /&gt;#! /usr/bin/ksh -x &lt;BR /&gt;# full backup &lt;BR /&gt;# =========== &lt;BR /&gt;echo "\nStart fullbackup $(date)" &lt;BR /&gt;&lt;BR /&gt;echo "i /" &amp;gt; /tmp/fbackup_total &lt;BR /&gt;&lt;BR /&gt;# list of saved files &lt;BR /&gt;export Ifile=/tmp/fbackup_0_$(date +%y%m%d)_$(date +%H%M).lst &lt;BR /&gt;set +e &lt;BR /&gt;/usr/sbin/fbackup -f /dev/rmt/c0t1d0BEST -0 -u -g/tmp/fbackup_total -I$Ifile 1&amp;gt;/tmp/fbackup.msg 2&amp;gt;&amp;amp;1 &lt;BR /&gt;code=$? &lt;BR /&gt;cat /tmp/fbackup.msg &lt;BR /&gt;set +x &lt;BR /&gt;&lt;BR /&gt;# handle return code &lt;BR /&gt;if (( $code == 0 )) ; then &lt;BR /&gt;echo "fbackup good ended" &lt;BR /&gt;elif (( $code == 4 )) ; then &lt;BR /&gt;echo "fbackup ended with warnings" &lt;BR /&gt;else &lt;BR /&gt;echo "fbackup error" &lt;BR /&gt;echo "fbackup failed on $(hostname). see /tmp/fbackup.msg" | mail root &lt;BR /&gt;exit $code &lt;BR /&gt;fi &lt;BR /&gt;&lt;BR /&gt;echo "End fullbackup $(date)" &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#! /usr/bin/ksh -x &lt;BR /&gt;# partial backup, changes since level 0. &lt;BR /&gt;# =================================================== &lt;BR /&gt;echo "\nStart partbackup $(date)" &lt;BR /&gt;&lt;BR /&gt;echo "i /" &amp;gt; /tmp/fbackup_total &lt;BR /&gt;&lt;BR /&gt;# list of saved files &lt;BR /&gt;export Ifile=/tmp/fbackup_1_$(date +%y%m%d)_$(date +%H%M).lst &lt;BR /&gt;set +e &lt;BR /&gt;/usr/sbin/fbackup -f /dev/rmt/c0t1d0BEST -1 -u -g/tmp/fbackup_total -I$Ifile 1&amp;gt;/tmp/fbackup.msg 2&amp;gt;&amp;amp;1 &lt;BR /&gt;code=$? &lt;BR /&gt;cat /tmp/fbackup.msg &lt;BR /&gt;set +x &lt;BR /&gt;&lt;BR /&gt;# handle return code &lt;BR /&gt;if (( $code == 0 )) ; then &lt;BR /&gt;echo "fbackup good ended" &lt;BR /&gt;elif (( $code == 4 )) ; then &lt;BR /&gt;echo "fbackup ended with warnings" &lt;BR /&gt;else &lt;BR /&gt;echo "fbackup error" &lt;BR /&gt;echo "fbackup failed on $(hostname). see /tmp/fbackup.msg" | mail root &lt;BR /&gt;exit $code &lt;BR /&gt;fi &lt;BR /&gt;&lt;BR /&gt;echo "End partbackup $(date)" &lt;BR /&gt;&lt;BR /&gt;Joel</description>
      <pubDate>Fri, 08 Sep 2006 03:38:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-procedure-full-and-intermidiate-backup/m-p/3858064#M276181</guid>
      <dc:creator>Joel Girot</dc:creator>
      <dc:date>2006-09-08T03:38:42Z</dc:date>
    </item>
  </channel>
</rss>

