Are you setting accurate=yes only in the schedule?  If so, you need to also
pass accurate=yes in the bconsole run command.  Alternatively, add it to the
job definition.

To debug the client problem, try

setdebug level=100 trace=1 client=heRPI02-fd

to make it create a bacula.trace file or run the bacula-fd with -f -d 100.

If level 100 does not show enough, then increase it.

__Martin




>>>>> On Sat, 7 Apr 2018 21:57:25 +0200, Johannsen, Thorsten said:
> 
> Hello list,
> 
> I'm still struggeling with my Raspberry PIs of which one (heRPI01) is 
> backing up fine and the other one (heRPI02) isn't.
> 
> The one that has problems during backup always terminates after "sending 
> accurate information to the FD".
> 
> 
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
> 2018-04-07 21:00:38heRPI02-fd JobId 1692: ClientBeforeJob: exiting...
> 2018-04-07 21:00:38heBacula-dir JobId 1692: Sending Accurate information to 
> the FD.
> 2018-04-07 21:00:50heBacula-dir JobId 1692: Error: bsock.c:721 Write error 
> sending 97 bytes to Client: heRPI02-fd:heRPI02:9102: ERR=Connection reset by 
> peer
> 2018-04-07 21:00:51heBacula-dir JobId 1692: Error: bsock.c:609 Socket has 
> errors=1 on call to Client: heRPI02-fd:heRPI02:9102
> 2018-04-07 21:00:51heBacula-dir JobId 1692: Fatal error: Network error with 
> FD during Backup: ERR=Connection reset by peer
> 2018-04-07 21:01:51heBacula-dir JobId 1692: Fatal error: No Job status 
> returned from FD.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
> 
> What *really* surprises me is that the jobs exits OK when I manually run it 
> from bconsole via "run". And that time I do not see the Accurate message in 
> the job log.
> 
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
> 2018-04-07 21:45:04heRPI02-fd JobId 1693: ClientBeforeJob: exiting...
> 2018-04-07 21:45:05heBacula-sd JobId 1693: Labeled new Volume 
> "IncBackup__heRPI02-fd__1692__2018-04-07T21.00.03" on File device 
> "AC-IncBackup-Dev03" (/srv/bacula-sd/AC-IncBackup).
> 2018-04-07 21:45:05heBacula-sd JobId 1693: Wrote label to prelabeled Volume 
> "IncBackup__heRPI02-fd__1692__2018-04-07T21.00.03" on File device 
> "AC-IncBackup-Dev03" (/srv/bacula-sd/AC-IncBackup)
> 2018-04-07 21:45:05heBacula-dir JobId 1693: Max Volume jobs=1 exceeded. 
> Marking Volume "IncBackup__heRPI02-fd__1692__2018-04-07T21.00.03" as Used.
> 2018-04-07 21:45:06heRPI02-fd JobId 1693:      Disallowed filesystem. Will 
> not descend from / into /dev
> 2018-04-07 21:45:09heRPI02-fd JobId 1693:      Disallowed filesystem. Will 
> not descend from / into /sys
> 2018-04-07 21:45:12heRPI02-fd JobId 1693: Error: /var/lib/mysql/ib_logfile0 
> mtime changed during backup.
> 2018-04-07 21:45:16heRPI02-fd JobId 1693: Error: /var/lib/mysql/ibdata1 mtime 
> changed during backup.
> 2018-04-07 21:45:20heRPI02-fd JobId 1693: Error: /var/lib/mysql/ib_logfile1 
> mtime changed during backup.
> 2018-04-07 21:45:23heRPI02-fd JobId 1693:      Disallowed filesystem. Will 
> not descend from / into /run
> 2018-04-07 21:45:24heRPI02-fd JobId 1693:      Disallowed filesystem. Will 
> not descend from / into /proc
> 2018-04-07 21:45:30heBacula-sd JobId 1693: Elapsed time=00:00:25, Transfer 
> rate=4.195 M Bytes/second
> 2018-04-07 21:45:30heBacula-dir JobId 1693: Max Volume jobs=1 exceeded. 
> Marking Volume "IncBackup__heRPI02-fd__1692__2018-04-07T21.00.03" as Used.
> 2018-04-07 21:45:30heBacula-sd JobId 1693: Sending spooled attrs to the 
> Director. Despooling 44,303 bytes ...
> 2018-04-07 21:45:30heBacula-dir JobId 1693: Bacula Enterprise heBacula-dir 
> 8.8.1 (01Mar17):
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
> 
> How is this possible?
> 
> 
> best regards
> 
> Thorsten
> 
> 
> 
> 
> 
> On 05.04.2018 15:17, Johannsen, Thorsten wrote:
> > On 05.04.2018 13:35, Johannsen, Thorsten wrote:
> >> On 05.04.2018 00:01, Jari Fredriksson wrote:
> >>
> >> Hi Jari,
> >>
> >>
> >> [...] 
> >
> >> Do you have Raspbian installed? Do you use the bacula-fd version from 
> >> the repository or did you compile your own?
> >
> > Moreover: could you please check the free memory on your 5 RPI's?
> >
> > Currently I have:
> >
> > heRPI01:~ $ free -h
> >              total       used       free     shared buffers cached
> > Mem:          923M       447M       476M        11M 100M 139M
> > -/+ buffers/cache:       207M       716M
> > Swap:          99M         0B        99M
> >
> > (this is the RPI where backup works)
> >
> >
> > heRPI02:~ $ free -h
> >               total        used        free      shared buff/cache   
> > available
> > Mem:           927M        176M        371M         23M 379M        663M
> > Swap:           99M          0B         99M
> >
> > (this is the RPI where backup does not (always) work. With Accurate=no 
> > the success/failure
> > ratio has improved, but I'm still getting failed backups.
> >
> > Thanks in advance,
> >
> > Cheers,
> >
> > Thorsten
> >
> >
> > ------------------------------------------------------------------------------
> >  
> >
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to