Hello.

I'm backing up a FreeBSD server where Cyrus IMAP runs and I'm using Full/Differential/Incremental scheme.

As you probably know, Cyrus IMAP uses hardlinks to avoid saving duplicate messages (and probably for other things).



I tried a test recovery yesterday and I was flooded with messages like the following:
Error: create_file.c:351 Could not hard link 
/zroot/brestore/temp/var/spool/imap/.zfs/snapshot/bacula/user/xxxx/SomeFolder/12610.
 -> /zroot/brestore/temp/var/spool/imap/.zfs/snapshot/bacula/user/xxxx/34966.: 
ERR=No such file or directory

What I *think* happened here is that the user moved the message to SomeFolder and Cyrus implemented this by creating a new hard link, later removing the original message file from Inbox. All the errors above came up reading from the Full volume: no errors were present when reading the Differential or Incremental ones, but I'm not sure this is a rule. I verified some of these files are currently present in the original data, but not on the restored data!!!

How does Bacula support hard-links? Is this expected to work? Are there any options I should set?



Could it be that Bacula:
_ does not restore the "original" file, since it was present at the moment of the Full backup, but gone later (when the last incremental was taken);
_ doing so cannot create the linked file?


 bye & Thanks
        av.


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to