[Samba] "samba-tool backup offline" stuck

Andrea Venturoli ml at netfence.it
Fri Nov 8 16:22:31 UTC 2019


After upgrading some DCs (in different domains) to 4.10, I'm trying to 
take backups with samba-tool.

I'm not using "online" backups, as they require typing a password, so 
are not usable in a script.

IIUIC, "offline" backups can be used even if Samba is running.
However, they seem to get stuck:

> root at dc1:~ # samba-tool domain backup offline --targetdir /var/tmp/DC1_Backup
> Creating targetdir /var/tmp/DC1_Backup...
> running backup on dirs: /var/db/samba4/private /var/db/samba4 /usr/local/etc
> Starting transaction on /var/db/samba4/private/secrets

After half an hour, no news...

If I press [ctrl-t]:
> load: 0.38  cmd: tdbbackup 39264 [lockf] 3138.57r 0.00u 0.00s 0% 2560k

Any hint?
(This is a FreeBSD 11.3/amd64 jail).

  bye & Thanks

More information about the samba mailing list