<?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: SAM automated backup problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537780#M26211</link>
    <description>Hi Ron:&lt;BR /&gt;&lt;BR /&gt;Mark's suggestion to build a graph file for 'fbackup' dynamically is exactly the approach I would use.  Graphs are extremely flexible.  You can (i)nclude whole directories and simultaneously (e)xclude selected subdirectories and/or files.&lt;BR /&gt;&lt;BR /&gt;You could use 'find' or 'ls' with wildcard matching and or filter a list of files with 'awk' if you want to get fancy.&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
    <pubDate>Thu, 07 Jun 2001 13:03:19 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-06-07T13:03:19Z</dc:date>
    <item>
      <title>SAM automated backup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537775#M26206</link>
      <description>Hi all,&lt;BR /&gt;I have an automated backup created with SAM. I wanted to exclude any file with a .log or .dbf extension. I used a "*" as the wildcard for these files. i.e. exclude /home/oracle/*.log. This didn't work. The system still tries to backup the files, then errors because they are in use. &lt;BR /&gt;Is there a way, using SAM, to exclude files with some type of wildcard?&lt;BR /&gt;Thanks,&lt;BR /&gt;Ron&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jun 2001 12:03:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537775#M26206</guid>
      <dc:creator>Ron Bromwell</dc:creator>
      <dc:date>2001-06-07T12:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAM automated backup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537776#M26207</link>
      <description>Ron, You can't use wildcards with fbackup. See &lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=d6656a540ac66e4267/screen=ckiDisplayDocument?docId=200000047604967" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=d6656a540ac66e4267/screen=ckiDisplayDocument?docId=200000047604967&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Richard Darling</description>
      <pubDate>Thu, 07 Jun 2001 12:23:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537776#M26207</guid>
      <dc:creator>Richard Darling</dc:creator>
      <dc:date>2001-06-07T12:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAM automated backup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537777#M26208</link>
      <description>Ron, you could use tar for your backups. That will give you the flexibility to exclude specific files.&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Thu, 07 Jun 2001 12:28:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537777#M26208</guid>
      <dc:creator>Richard Darling</dc:creator>
      <dc:date>2001-06-07T12:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAM automated backup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537778#M26209</link>
      <description>Ron-&lt;BR /&gt;&lt;BR /&gt;This might be a case where it would be easier to run the fbackup command from the prompt.  Looking at the man page for fbackup, it will grab all the files in a graph file if you use the -g option.  I have not used this myself, but it appears that you can speficy a text file that has all the files (full paths) that you want.  Therefore, you can should be able to use the find command to grab everything without a .log or .dbf (using the not option and -name) to create the file list, and then send it to fbackup, all with a cron job.  I'm just throwing out an idea here (can anyone out there confirm that this will work?).  Good luck.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 07 Jun 2001 12:42:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537778#M26209</guid>
      <dc:creator>Mark Vollmers</dc:creator>
      <dc:date>2001-06-07T12:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAM automated backup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537779#M26210</link>
      <description>Ron,&lt;BR /&gt;&lt;BR /&gt;Something like this&lt;BR /&gt;&lt;BR /&gt;find / -name *.log &amp;gt; /tmp/ex_log&lt;BR /&gt;&lt;BR /&gt;for i in `cat /tmp/ex_log`&lt;BR /&gt;do&lt;BR /&gt;echo "e ${i}" &amp;gt;&amp;gt; /tmp/graph_file&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;vi /tmp/graph_file&lt;BR /&gt;&lt;BR /&gt;#this should be a clean file with no comment lines in it.  for the mount points you want to backup use a "i" it doesn't matter what order you put it in. example:&lt;BR /&gt;&lt;BR /&gt;i /&lt;BR /&gt;i /home&lt;BR /&gt;i /usr&lt;BR /&gt;i /u01&lt;BR /&gt;e /tmp/xxx.log&lt;BR /&gt;&lt;BR /&gt;you get the idea, save the file.&lt;BR /&gt;&lt;BR /&gt;if you set it in cron for automation, put it in a script or just this entry with the fully qualified path.&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/fbackup -v -0 -g /tmp/graph_log -I /tmp/fbck_what -f /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;the "-I /tmp/fbck_what" will just create a log of what was backed up if you want it if not leave it out.  Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Good Luck!1&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jun 2001 12:58:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537779#M26210</guid>
      <dc:creator>boley janowski</dc:creator>
      <dc:date>2001-06-07T12:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAM automated backup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537780#M26211</link>
      <description>Hi Ron:&lt;BR /&gt;&lt;BR /&gt;Mark's suggestion to build a graph file for 'fbackup' dynamically is exactly the approach I would use.  Graphs are extremely flexible.  You can (i)nclude whole directories and simultaneously (e)xclude selected subdirectories and/or files.&lt;BR /&gt;&lt;BR /&gt;You could use 'find' or 'ls' with wildcard matching and or filter a list of files with 'awk' if you want to get fancy.&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jun 2001 13:03:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537780#M26211</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-06-07T13:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAM automated backup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537781#M26212</link>
      <description>Thanks all,&lt;BR /&gt;I don't generally administer this machine. I was trying to leave the automated backup through SAM.&lt;BR /&gt;I'll have to put each file is a separate exclusion&lt;BR /&gt;Ron&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jun 2001 15:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537781#M26212</guid>
      <dc:creator>Ron Bromwell</dc:creator>
      <dc:date>2001-06-07T15:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAM automated backup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537782#M26213</link>
      <description>yep if your insistant on SAM doing it for you that is what you will need to do, however the instructions i provided is basically the same thing, the only other thing you will need to do is:&lt;BR /&gt;&lt;BR /&gt;crontab -e&lt;BR /&gt;00 23 * * 1-5 /usr/sbin/fbackup -v -0 -g /tmp/graph_log -I /tmp/fbck_what -f /dev/rmt/0m &lt;BR /&gt;&lt;BR /&gt;then save &lt;BR /&gt;this will run 00 minute, 23 hour, 1-5 monday-friday - modify those the way you want (man cron for help) however i would suggest moving the /tmp/graph_log to a safer place like /usr/local/bin or something.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jun 2001 15:41:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-automated-backup-problem/m-p/2537782#M26213</guid>
      <dc:creator>boley janowski</dc:creator>
      <dc:date>2001-06-07T15:41:50Z</dc:date>
    </item>
  </channel>
</rss>

