Hello,

I think the simplest thing to do is to delete the warning message, which I 
have done.  You can do the same in your code by editing file:

 <bacula-source>/src/findlib/find_one.c

and delete the Jmsg() at lines 242 and 243.

You probably should check your FileSet to make sure you are not explicitly 
including the same directory twice -- see the documentation on FileSets for 
more details about the subtleties of including directories twice.

On Wednesday 07 December 2005 09:31, Support wrote:
> Dear Kern
>
> Here is a snippet of the warning messages received. I get Bacula to email
> the status of the jobs.
>
> I have changed the user names.
>
> I will test a restore of a hard linked file.
>
> Regards
> Stephen Carr
>
> 07-Dec 04:13 www-dir: www-dir.2005-12-07_01.05.00 Warning: find_one.c:242
> Attempt to backup hard linked file /common/cyrus/user/eee/1429. twice
> ignored.
...
> 07-Dec 04:13 www-dir: www-dir.2005-12-07_01.05.00 Warning: find_one.c:242
> Attempt to backup hard linked file /common/cyrus/user/xxx/Trash/67. twice
> ignored.
>
> > On Tuesday 06 December 2005 23:18, Support wrote:
> >> Dear Bacula users
> >>
> >> I have upgraded my version of Bacula from 1.36.3 to 1.38.2 and am
> >> getting
> >> quite a few warnings about Bacula attempting to backup a file twice and
> >> it
> >> being ignored.
> >>
> >> The questions I have are :-
> >>
> >> Will the restore work - ie will the hard link be preserved
> >
> > Normally all the hardlinks are restored correctly, but as the manual
> > suggests,
> > the only way to be sure with *your* configuration is to try doing
> > restores with data you have saved.
> >
> >> or should I set hardlinks option to no?
> >
> > Setting the Hardlinks option to no is a performance workaround when there
> > are
> > large numbers of hardlinks.  Doing so will cause Bacula to ignore
> > hardlinks,
> > and thus they will not be restored.
> >
> >> The server uses Cyrus IMAP for is mail store and with the single
> >> instance
> >> store enabled it uses hard links. Luckily we only have a few users at
> >> the
> >> moment but soon may have hundreds and the messages will be flooded with
> >> warning messages to the extent that other warnings could be missed. Can
> >> the warning be suppressed?
> >
> > Since you didn't include a copy of the message, I'm not sure what warning
> > you
> > are talking about, so I wouldn't want to comment.  In general, I consider
> > it
> > a "bug" if Bacula prints hundreds of warning messages ...
> >
> >
> >
> > --
> > Best regards,
> >
> > Kern
> >
> >   (">
> >   /\
> >   V_V

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to