Rowland Penny
2022-Dec-01 10:15 UTC
[Samba] Migrate and Update (Samba 4.1 ADDC to Samba Latest Version on different Server).
On 01/12/2022 02:11, Andrew Bartlett via samba wrote:> On Wed, 2022-11-30 at 23:03 -0300, Juan Ignacio via samba wrote: >> Already checked that on 4.1 and samba-tool doesn't have that options. >> root at DC1:/usr/sbin# samba-tool domain backup online >> Usage: samba-tool domain <subcommand> >>> > > Correct. For such an old version just shut Samba down and back up the > files 'normally'. Restoration will be a challenge, the only option will be to force destroy any other DCs and then start back from the backed up files. > > Andrew Bartlett > >Wrong, the OP now has a much later Samba DC and that will have the 'new' backup tools. Rowland
Juan Ignacio
2022-Dec-01 13:08 UTC
[Samba] Migrate and Update (Samba 4.1 ADDC to Samba Latest Version on different Server).
Thx for all the info Rowland; I tried to read everything carefully.. I managed to make an offline domain backup in the new ad-dc without apparently major complications. But not being able to do the online backup, I got an exception and isn't on the wiki. root at DC2:/domain/samba/domainBackups# samba-tool domain backup online --targetdir=/domain/samba/domainBackups --server=DC2 -UAdministrator ERROR(runtime): uncaught exception - (3221225653, '{Device Timeout} The specified I/O operation on %hs was not completed before the time-out period expired.') File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 186, in _run return self.run(*args, **kwargs) File "/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.py", line 261, in run ctx = join_clone(logger=logger, creds=creds, lp=lp, File "/usr/lib/python3/dist-packages/samba/join.py", line 1552, in join_clone ctx = DCCloneContext(logger, server, creds, lp, targetdir=targetdir, File "/usr/lib/python3/dist-packages/samba/join.py", line 1576, in __init__ super(DCCloneContext, ctx).__init__(logger, server, creds, lp, File "/usr/lib/python3/dist-packages/samba/join.py", line 101, in __init__ ctx.site = ctx.find_dc_site(ctx.server) File "/usr/lib/python3/dist-packages/samba/join.py", line 363, in find_dc_site cldap_ret = ctx.net.finddc(address=server, El jue, 1 dic 2022 a las 7:15, Rowland Penny via samba (< samba at lists.samba.org>) escribi?:> > > On 01/12/2022 02:11, Andrew Bartlett via samba wrote: > > On Wed, 2022-11-30 at 23:03 -0300, Juan Ignacio via samba wrote: > >> Already checked that on 4.1 and samba-tool doesn't have that options. > >> root at DC1:/usr/sbin# samba-tool domain backup online > >> Usage: samba-tool domain <subcommand> > >>> > > > > Correct. For such an old version just shut Samba down and back up the > > files 'normally'. Restoration will be a challenge, the only option will > be to force destroy any other DCs and then start back from the backed up > files. > > > > Andrew Bartlett > > > > > > Wrong, the OP now has a much later Samba DC and that will have the 'new' > backup tools. > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >