[Samba] samba 4.9.7 - DC online backup error - "uncaught exception - 'TarFile' object has no attribute '__exit__'"
abartlet at samba.org
Fri Mar 19 18:12:51 UTC 2021
On Thu, 2021-03-18 at 19:27 +0000, Carlos Gardel via samba wrote:
> I've been running two DC:s (DC1 and DC2) in a pure samba AD domain
> since 2015 on Centos 6. Starting with version 4.1.14 I have upgraded
> my way to version 4.9.7. It seems I have now reached the limit for
> possible upgrades of these DC:s since it is no longer possible to
> upgrade to 4.10 on Centos 6.
> I'm now preparing to deploy a DC3 on a Centos 8 vm with samba 4.14.0.
> Before joining it to the domain I have tried to make an online backup
> of the AD on the two existing DC:s following the guide at
> When I run the command (as root) "samba-tool domain backup online --
> targetdir=/root/samba-backup/ --server=DC2 -UAdministrator" I get the
> following error:
> I would be very grateful for all the help I can get since it would
> feel fantastic to be able to perform a backup before I start to join
> new DC:s and make changes to the existing setup.
The backup is taken over the network, so just start he backup on a new
modern Samba version, rather than with the old one.
Python 2.6 was poorly tested with Samba - every release we would have a
bug filed about some issue or other - which is one of the reasons we
raised the minimum version recently to 3.5 and 3.6 - it was becoming
foolish to pretend to support versions that we didn't run CI on.
> Best regards,
Andrew Bartlett (he/him) https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba
Samba Development and Support, Catalyst IT - Expert Open Source
More information about the samba