You will frequently notice this backing up e-mail volumes, or directories that contain lockfiles. For some unknown reason, the .lock files are stored in /var/mail on our system, and so there are many complaints about files that did not exist at the time of writing, but did exist when the list was being made (this was with Data Protector). As for e-mail files, they are bound to grow during the backup. My solution there was to exclude *.lock (useless files anyway). This is the equivalent to Dan's suggestion here.

It's scary to see a Restore error, but in these cases, they are no big deal.

---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | | Ryan Novosielski - User Support Spec. III
|$&| |__| |  | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630


Dan Langille wrote:
On 20 Feb 2006 at 20:06, Boniforti Flavio wrote:

In data Mon, 20 Feb 2006 19:56:07 +0100
Boniforti Flavio <[EMAIL PROTECTED]> scriveva:

I just discovered this:

19-Feb 18:43 dropbox-fd: RestoreFiles.2006-02-19_18.43.22 Error:
attribs.c:339 File size of restored file
/tmp/bacula-restores/var/lib/mysql/bacula/File.MYD n
ot correct. Original 115936, restored 116236.

19-Feb 18:43 dropbox-fd: RestoreFiles.2006-02-19_18.43.22 Error:
attribs.c:339 File size of restored file
/tmp/bacula-restores/var/log/mysql/mysql-bin.000007
not correct. Original 662506, restored 663027.

What could the problem be?
OK, I "self-answer" me: maybe those files where "in use" when backup
started, and in the restore process something (WHAT?) went wrong?

My theory:

When the FD took the file size, it was X. While backing the FD was backing the file it, the file size changed to size Y.

My advice: Don't backup files that can change. Use mysqldump instead. Then backup the output of that. You can invoke MySQL dump in the RunBefore job.




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to