Hello Ismael,

On 11/5/26 16:07, Ismael Matos wrote:
Hello all,

I'm starting to play with Docker in my computer, but could not find yet the
correct configuration. "everything seems right", but things do not work and
the Bacula Backup job spits dozens of error messages when trying to backup
the docker files.  Any suggestions and recommendations are appreciated.

Docker guys did something very nice for other programs, they change their
options and even if it doesn't change anything, they put that as an error.

This issue was addressed earlier this year and the patch was not yet
backported. The version 17.0 have now a fix for your problem, and you
can test it.

Best Regards,
Eric
Thanks and regards

Ismael



Section from /opt/bacula/etc/bacula-dir.conf

Fileset {
   Name = FullSetUbuntu
   ...
   Include {
     Plugin = "docker: allvolumes mode=pause"
     Options {
       Compression = Gzip
       Signature = Md5
     }
   }
  ...

Section from /opt/bacula/etc/bacula-fd.conf
...
FileDaemon {                          # this is me
   Name = IMCSERV26
   WorkingDirectory = /opt/bacula/working
   Pid Directory = /opt/bacula/working
   Maximum Concurrent Jobs = 5
   Plugin Directory = /opt/bacula/plugins
   TLS Enable = no
}
...

Messages from the backup job log:

IMCSERV26 JobId 3845: docker: Start Backup Docker Container:
tender_visvesvaraya (e8a24996bd9c)
IMCSERV26 JobId 3845: Error: dkcommctx: container_commit cannot scan
commit image id. Err=Flag --pause has been deprecated, and enabled by
default. Use --no-pause to disable pausing during commit.
sha256:52aaaa3ff36ebd9ee18611eee785a7f7505638319ac4d2b9e85c7ad3a3c897bc
IMCSERV26 JobId 3845:      Cannot open
"/@docker/container/tender_visvesvaraya/e8a24996bd9c683b8a7a3119de7b7675c4baf2c359ddde1d3851e7de5eaa4974.tar":
ERR=Input/output error.


 From the console:
im@imcserv26:~$ id bacula
uid=113(bacula) gid=116(bacula) groups=116(bacula),26(tape),971(docker)

im@imcserv26:~$ sudo journalctl -u docker -n 100 --no-pager
Nov 05 12:45:44 imcserv26.imc.internal dockerd[2691]:
time="2026-11-05T12:45:44.031654296Z" level=error msg="Handler for GET
/images/get returned error" error-response="invalid repository name
(96498ffd522e70807ab6384a5c0485a79b9c7c08ca79ba08623edcad1054e62d), cannot
specify 64-byte hexadecimal strings" method=GET module=api
request-url="/v1.56/images/get?names=96498ffd522e70807ab6384a5c0485a79b9c7c08ca79ba08623edcad1054e62d"
status=500 vars="map[version:1.56]"

im@imcserv26:~$ docker --version
Docker version 29.9.3, build 5457199

im@imcserv26:~$ sudo bconsole
Connecting to Director imcserv26:9101
1000 OK: 10002 IMCSERV-dir Version: 15.0.3 (25 March 2025)
Enter a period to cancel a command.
*q

im@imcserv26:~$ sudo docker ps -a
CONTAINER ID   IMAGE         COMMAND    CREATED        STATUS
      PORTS     NAMES
e8a24996bd9c   hello-world   "/hello"   3 months ago   Exited (0) 3 months
ago             tender_visvesvaraya
im@imcserv26:~$



_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users



_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to