Amanda-Users

Re: Amanda reporting File shrank by...

2006-05-17 10:15:39
Subject: Re: Amanda reporting File shrank by...
From: Luis Rodrigues <luis AT ess.co DOT at>
To: amanda-users AT amanda DOT org
Date: Wed, 17 May 2006 16:12:57 +0200
Some times it happens.

Usually amanda runs at 00:00. But some people take work home and it happens 
sometimes.

It not very important, I just would like it not show on FAILURE AND STRANGE 
DUMP SUMMARY 
(I have a script that only sends me the report when this line apears) so I had 
one less mail to check.

thanks

Luis




On Wed, 17 May 2006 09:49:56 -0400
Jon LaBadie <jon AT jgcomp DOT com> wrote:

> On Wed, May 17, 2006 at 09:44:56AM +0200, Luis Rodrigues wrote:
> > Today I got this in the report from amanda. In this mail server we use mbox 
> > and the user just deleted some mails.
> > How can I let amanda know to not report file size changes in this DLE?
> > 
> > Best regards,
> > 
> > Luis
> > 
> > 
> > sendbackup: start [mailserver.aa.bb:/var/mail level 0]
> > sendbackup: info BACKUP=/bin/tar
> > sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/bin/tar -f... -
> > sendbackup: info COMPRESS_SUFFIX=.gz
> > sendbackup: info end
> > ? gtar: ./jondoe: File shrank by 20955 bytes; padding with zeros
> > | Total bytes written: 1180221440 (1.1GB, 5.4MB/s)
> > sendbackup: size 1152560
> > sendbackup: end
> > \--------
> 
> To my knowledge, it is not possible on a DLE by DLE basis.
> It would have to be compiled in and apply to all DLEs.
> 
> But, wasn't this just a one-time thing that only happened
> because "jondoe" happened to be deleting mail at exactly 
> the moment gtar happened to be copying the file?  Or have
> you seen this regularly, possibly for the same file each time?
> 
> -- 
> Jon H. LaBadie                  jon AT jgcomp DOT com
>  JG Computing
>  4455 Province Line Road        (609) 252-0159
>  Princeton, NJ  08540-4322      (609) 683-7220 (fax)