[arch-general] back up /var/log before shutdown

Allan McRae allan at archlinux.org
Wed Jun 20 08:36:35 EDT 2012

On 20/06/12 22:22, Andrew Hills wrote:
> On Wed, Jun 20, 2012 at 7:34 AM, Arno Gaboury <arnaud.gaboury at gmail.com> wrote:
>> tar -zcf  "./`date +'%d-%b-%y.tgz'`" /var/log
> This date format will have you cursing yourself if you shut down more
> than once in the same day.

I think he will be cursing himself when he realises the logs tend to be
most useful after a system crash and using this method he will not have

More information about the arch-general mailing list