<?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: how to perform backup using SAM in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866972#M277723</link>
    <description>thnk you all for the solutions,&lt;BR /&gt;&lt;BR /&gt;for this case i think ill try cpio that mentioned. Actually, im trying to perform housekeeping on /var and make the /backup as a temporary destination for the backup job.what do you think if i use sam&amp;gt;&amp;gt;routine task&amp;gt;&amp;gt;log&amp;gt;&amp;gt;trim to recommended size for the /var? What happen if i do it when other user connected?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 21 Sep 2006 20:27:24 GMT</pubDate>
    <dc:creator>FaizirizaL</dc:creator>
    <dc:date>2006-09-21T20:27:24Z</dc:date>
    <item>
      <title>how to perform backup using SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866967#M277718</link>
      <description>Can anyone explain to me on how to perform backup using SAM? now i need to backup from /var to /backups (refer to below)&lt;BR /&gt;&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     311296  275920   35208   89% /&lt;BR /&gt;/dev/vg00/lvol1     298928   56264  212768   21% /stand&lt;BR /&gt;/dev/vg00/lvol8    4194304 2010696 2167616   48% /var&lt;BR /&gt;/dev/vg00/lvol7    1548288 1017120  527048   66% /usr&lt;BR /&gt;/dev/vg00/lvol4     524288  293968  228584   56% /tmp&lt;BR /&gt;/dev/vg00/lvol6    1548288 1458264   89360   94% /opt&lt;BR /&gt;/dev/vg00/lvol5     106496    4024  101704    4% /home&lt;BR /&gt;/dev/vg04/lvol1    20480000 10260528 10075376   50% /appl&lt;BR /&gt;/dev/vg04/lvol2     516096    1229  482695    0% /scripts&lt;BR /&gt;/dev/vg04/lvol3    10240000  386558 9545554    4% /backup&lt;BR /&gt;&lt;BR /&gt;thnk you..regards,</description>
      <pubDate>Thu, 21 Sep 2006 03:18:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866967#M277718</guid>
      <dc:creator>FaizirizaL</dc:creator>
      <dc:date>2006-09-21T03:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to perform backup using SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866968#M277719</link>
      <description>Hi,&lt;BR /&gt;you would probably be better off doing a copy&lt;BR /&gt;with the -R option&lt;BR /&gt;Just be aware of open files on /var&lt;BR /&gt;see &lt;BR /&gt;man cp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Sep 2006 03:49:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866968#M277719</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-09-21T03:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to perform backup using SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866969#M277720</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can do it easily from command line using cpio. do the follwoing&lt;BR /&gt;&lt;BR /&gt;cd /var&lt;BR /&gt;find . -depth -print|cpio -pdlmvu /backup&lt;BR /&gt;&lt;BR /&gt;The command abovecopies everything including symbolic links&lt;BR /&gt;&lt;BR /&gt;-PB&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Sep 2006 06:03:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866969#M277720</guid>
      <dc:creator>Prasanth B</dc:creator>
      <dc:date>2006-09-21T06:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to perform backup using SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866970#M277721</link>
      <description>Faizirizal,&lt;BR /&gt;&lt;BR /&gt;The thing is if go to sam ----&amp;gt; backup and recovery ----&amp;gt; Interactive backup and recovery ----&amp;gt; then it will look for backup device, but you want to backup to another directory and SAM does not give you this flexibility.&lt;BR /&gt;&lt;BR /&gt;Please follow the advice posted before, also you can use fbackup to do the job.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jaime.</description>
      <pubDate>Thu, 21 Sep 2006 06:11:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866970#M277721</guid>
      <dc:creator>Jaime Bolanos Rojas.</dc:creator>
      <dc:date>2006-09-21T06:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to perform backup using SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866971#M277722</link>
      <description>If mby 'backup' you mean: copy everything in /var to /backup, then the cpio method mentioned above is the fastest way. SAM does not have a copy feature. If you mean that you want to backup the files in /var and /backups onto a tape, then SAM will do this for you.</description>
      <pubDate>Thu, 21 Sep 2006 09:33:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866971#M277722</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-09-21T09:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to perform backup using SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866972#M277723</link>
      <description>thnk you all for the solutions,&lt;BR /&gt;&lt;BR /&gt;for this case i think ill try cpio that mentioned. Actually, im trying to perform housekeeping on /var and make the /backup as a temporary destination for the backup job.what do you think if i use sam&amp;gt;&amp;gt;routine task&amp;gt;&amp;gt;log&amp;gt;&amp;gt;trim to recommended size for the /var? What happen if i do it when other user connected?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Sep 2006 20:27:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866972#M277723</guid>
      <dc:creator>FaizirizaL</dc:creator>
      <dc:date>2006-09-21T20:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to perform backup using SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866973#M277724</link>
      <description>FaizirizaL,&lt;BR /&gt;I've writen a few scipts to accomplish just what you're trying to do. I say, "why re-invent the wheel if you don't have to".&lt;BR /&gt;&lt;BR /&gt;Please find the attached script and graph file. &lt;BR /&gt;Update the script entries . . .&lt;BR /&gt;&lt;BR /&gt;export _WD=/DR/shell  # Change&lt;BR /&gt;export _DR=/DR        # Change&lt;BR /&gt;export _list=$_WD/$(basename $0).list # Change - Graph file to update to include or exclude files/ directories&lt;BR /&gt;&lt;BR /&gt;As well as the graph file 'daily_dr.sh.list' . . .&lt;BR /&gt;&lt;BR /&gt;# i=include e=exclude a=all f=file&lt;BR /&gt;i f / .profile .sh_history&lt;BR /&gt;i a /etc/lp&lt;BR /&gt;i a /sbin/rc0.d&lt;BR /&gt;i a /sbin/rc1.d&lt;BR /&gt;i a /sbin/rc2.d&lt;BR /&gt;i a /sbin/rc3.d&lt;BR /&gt;i a /sbin/rc4.d&lt;BR /&gt;i a /etc/mail&lt;BR /&gt;i a /etc/lvmconf&lt;BR /&gt;i a /etc/rc.config.d&lt;BR /&gt;i a /etc/ftpd&lt;BR /&gt;i f /etc/ fstab group hosts inetd.conf inittab lvmpvg lvmtab nsswitch.conf ntp.conf pam.conf pam_user.conf passwd resolv.conf services syslog.conf&lt;BR /&gt;&lt;BR /&gt;I hope this comes accros okay. If it dosn't let me know.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jim</description>
      <pubDate>Fri, 22 Sep 2006 15:51:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866973#M277724</guid>
      <dc:creator>Jim Purtell</dc:creator>
      <dc:date>2006-09-22T15:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to perform backup using SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866974#M277725</link>
      <description>You don't need to copy all of /var to another disk just to fix space problems. You do need to find where the big space is located (not big files) in directories. Type this:&lt;BR /&gt; &lt;BR /&gt;du -kx /var | sort -rn | head -20&lt;BR /&gt; &lt;BR /&gt;This will show you the biggest directories, sorted largest first. If /var/adm is at the top of the list, use SAM to trim the logfiles. The standard values will work fine and trimming can be done while the system is busy.&lt;BR /&gt; &lt;BR /&gt;If there are other directories that are very large, please paste a copy of the above command output and we can suggest what you can do next.</description>
      <pubDate>Fri, 22 Sep 2006 19:20:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-perform-backup-using-sam/m-p/3866974#M277725</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-09-22T19:20:29Z</dc:date>
    </item>
  </channel>
</rss>

