I understand that the backup service exports the database into zip
files, but it does so without bound. Every backup since the system was
installed is still in there. That directory gets backed up every night,
so I don't necessarily need to have (for example) last September's data
file around any longer. It has been backed up 90 times! I don't care
about that data anymore anyway, it's stale.
I guess I'm looking for a simple rotation mechanism that lets me age and
delete files after some period of time. The logrotate command looks for
a particular file name and creates aged files with an extension. Each
backup database zip file has a different name. Can logrotate handle
files like that?
Thanks for the input,
Ross
-----Original Message-----
From: owner-jira-***@lists.atlassian.com
[mailto:owner-jira-***@lists.atlassian.com] On Behalf Of Anton Mazkovoi
Sent: Monday, December 13, 2004 1:27 AM
To: jira-***@lists.atlassian.com
Subject: Re: [JIRA-user] Rotation on Backup Service
Hi,
JIRA's backup service exports the database data to XML format into a
specified backup directory. It does not create any logs as such, that
need to be rotated.
Are you referring to rotating your application server's (e.g. Tomcat's)
logs? if so, you can use logrotate. Just copy and truncate the log (use
the 'copytruncate' option) rather than move away the file, so that JIRA
can still use it.
Please let us know if you have any other questions.
Thanks,
Anton
Post by Ross GreinkeI can't find a setting to rotate the logs that are created by the
Backup Service.
Should I just set up a logrotate entry myself? (Luckily, we're
running on Linux.)
Ross Greinke
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIRA-User details available at:
http://www.atlassian.com/software/jira/mailinglist.jsp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JIRA-User details available at:
http://www.atlassian.com/software/jira/mailinglist.jsp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~