What options to use for Accurate bacula backup

baculaincremental-backup

It's actually 2 question in one.
First is a bit more theoretically. So when specifying accurate options how does bacula figure out if a file needs to be backed up ? it's a simple AND ?

As in if the options are
Accurate = sm5 bacula will not backup the file if
((size = old size) AND (modtime = old modtime) AND (md5 = old md5))
Is that correct ? Do any of the options take precedence ? as in would be a file skipped if modif time is diffreent but it has the same md5sum ? Are there any implied options that you cannot ignore ?

Practical case, ( bacula 5.0.1 )
I have to back-up a svn repo, in order to be able to make incremental backups as simple as posible i am hotcopying (client run before) it to another location, that bacula will backup ( then delete it with client run after). Now in the fileset i have

Accurate = spnd5

This should tell bacula to take into consideration size , permission bits number of links , decreases in size and md5sum. However , an incremental is also including a full copy of the svn. What am i doing wrong ? it seems that it takes into account creation time even tho i have not specified it.

Best Answer

It shouldn't check for this at all given your accurate options, but maybe you can test if setting the option mtimeonly=yes will work, because the ctime will have changed if you add a link to a file.

Related Topic