[Samba] DC Cloning

David Wells - Alfavinil S.A. dwells at alfavinil.com
Tue Sep 13 20:52:14 UTC 2022


I'm trying to clone a samba 4.10.8 AD DC that is running on a server in 
my production network into a fully isolated VM where I'm installing an 
updated fresh copy of the os which has samba 4.15.9 with the same IP 
address and hostname as the production server has. My plan was to make 
an offline backup of the DC and restore this backup in the new DC but I 
found the documentation that states "Similar to doing a provision, you 
need to specify a new DC when you run the restore command. This new DC 
must not have existed previously in the Samba network". Is there a way 
to restore a backup into a server without having to rename it?

Thanks in advance!
Best regards,
David Wells.

More information about the samba mailing list