[Cialug] Logrotage for keeping archived backups
Matthew Nuzum
newz at bearfruit.org
Wed Oct 9 19:58:28 CDT 2013
Good plan. I'll do that. I'm having to rush to move a server from one hosting company to the other. This is a better plan though.
On Oct 9, 2013, at 7:54 PM, Josh More <jmore at starmind.org> wrote:
> Try two logrotate scripts. One that runs each month and moves the files
> outside of a watched directory to your archive location.
>
> Your second script would run after the first one (priority-wise) and would
> do your normal rotation.
>
> -Josh
>
>
> On Wed, Oct 9, 2013 at 7:47 PM, Matthew Nuzum <newz at bearfruit.org> wrote:
>
>> I would like a backup retention policy that keeps the last 7 days of a log
>> file plus the last one of each month. Has anyone seen a log rotate config
>> that does this?
>>
>> Or maybe a shell script that is already made?
>> --
>> Matthew Nuzum
>> newz2000 on freenode, skype, linkedin and twitter
>>
>> ♫ You're never fully dressed without a smile! ♫
>>
>>
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> http://cialug.org/mailman/listinfo/cialug
>>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
--
Matthew Nuzum
newz2000 on freenode, skype, linkedin and twitter
♫ You're never fully dressed without a smile! ♫
More information about the Cialug
mailing list