[Samba] samba 4.9.7 - DC online backup error - "uncaught exception - 'TarFile' object has no attribute '__exit__'"

Carlos Gardel carlosito2021 at outlook.com
Sun Mar 28 19:40:09 UTC 2021

Hello again Andrew,

Thank you for your advice, especially the fact that the online backup can be performed before joining the domain! I am happy to report that the online backup tool completed without error on my new dc with samba 4.14.2 (before joining the domain).

After joining my new dc to the domain, is there anything I will need to consider before transferring the fsmo roles to the new dc? Dns, replication of sysvol etc?

Thank you once again and best regards,
Från: Andrew Bartlett <abartlet at samba.org>
Skickat: Wednesday, March 24, 2021 6:48:03 PM
Till: Carlos Gardel <carlosito2021 at outlook.com>; samba at lists.samba.org <samba at lists.samba.org>
Ämne: Re: [Samba] samba 4.9.7 - DC online backup error - "uncaught exception - 'TarFile' object has no attribute '__exit__'"

On Wed, 2021-03-24 at 12:33 +0000, Carlos Gardel via samba wrote:
> Hello Andrew,
> Thank you for your input. I really appreciate getting suggestions and
> advice from such a prominent Samba veteran!

No worries.

> According to your thoughts my plan will be to start to join a new DC
> (DC3) to the domain and then try to do an online backup on the new
> DC. Hopefully this will work better.

You can do the backup, before you join, on any server with modern Samba
installed, it need not be the new DC3, but could be.  The point of the
backup tool is that it does not modify the domain.  It also allows you
to know that most likely the join will work beforehand.

Andrew Bartlett

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 mailing list