I want an auto archive all of my log files for an application on my Linux distro. Also after the log files have been archived, the actual log files should be deleted (not the archived ones). I know almost all Linux distro have the utility 'logrotate' and in logrotate.conf we can specify the log rotation, compress, options etc.

What I need is another 3rd party tool rather than 'logrotate'. If I say I don't wanna use logrotate, is there any other tool that can accomplish this task???

  • What is the rationale behind this? Btw, you could use a postrotate script within logrotate to ship files off to a different location. – tink Feb 13 '13 at 21:38

Any backup tool can be used for archiving.

You might want to look into rsnapshot. It is also available as Ubuntu package or as a rpm package for example.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy