<?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 logrotate question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/logrotate-question/m-p/5006782#M425702</link>
    <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;For a certain set of apps, I make a tar ball that is then backed up to tape. The tar balls I make are stored on disk with the $DATE as part of the file name.&lt;BR /&gt;&lt;BR /&gt;Since the files are named differently each day the logrotate just keeps renaming them 'myapp.20061001.tgz.1  myapp.20061002.tgz.1.1 myapp.20061003.tgz.1.1.1  myapp.20061004.tgz.1.1.1.1  etc.'&lt;BR /&gt;&lt;BR /&gt;Here is the logrotate stanza;&lt;BR /&gt;/home/backup/myapp* {&lt;BR /&gt;rotate 8&lt;BR /&gt;daily&lt;BR /&gt;mail me@work.com&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Or, am I going to run through a script that is checking the dates?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Wed, 04 Oct 2006 11:02:15 GMT</pubDate>
    <dc:creator>Rick Garland</dc:creator>
    <dc:date>2006-10-04T11:02:15Z</dc:date>
    <item>
      <title>logrotate question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logrotate-question/m-p/5006782#M425702</link>
      <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;For a certain set of apps, I make a tar ball that is then backed up to tape. The tar balls I make are stored on disk with the $DATE as part of the file name.&lt;BR /&gt;&lt;BR /&gt;Since the files are named differently each day the logrotate just keeps renaming them 'myapp.20061001.tgz.1  myapp.20061002.tgz.1.1 myapp.20061003.tgz.1.1.1  myapp.20061004.tgz.1.1.1.1  etc.'&lt;BR /&gt;&lt;BR /&gt;Here is the logrotate stanza;&lt;BR /&gt;/home/backup/myapp* {&lt;BR /&gt;rotate 8&lt;BR /&gt;daily&lt;BR /&gt;mail me@work.com&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Or, am I going to run through a script that is checking the dates?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 04 Oct 2006 11:02:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logrotate-question/m-p/5006782#M425702</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-10-04T11:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: logrotate question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logrotate-question/m-p/5006783#M425703</link>
      <description>You'll be processing those yourself separately, I think. Logrotate is intended for rotating logs that will have and will retain the same name over time.</description>
      <pubDate>Wed, 04 Oct 2006 11:16:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logrotate-question/m-p/5006783#M425703</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-10-04T11:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: logrotate question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logrotate-question/m-p/5006784#M425704</link>
      <description>Yes - logrotate expects to see the same filename.&lt;BR /&gt;&lt;BR /&gt;So, if you want logrotate - then get rid of the $DATE in the tarball.&lt;BR /&gt;&lt;BR /&gt;Change to say something like myapp.dailey.tgz&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Oct 2006 11:53:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logrotate-question/m-p/5006784#M425704</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-10-04T11:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: logrotate question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logrotate-question/m-p/5006785#M425705</link>
      <description>That's what I thought - just wanted to double check&lt;BR /&gt;&lt;BR /&gt;Thanks folks!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Oct 2006 14:05:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logrotate-question/m-p/5006785#M425705</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-10-04T14:05:58Z</dc:date>
    </item>
  </channel>
</rss>

