[Samba] How to Migrate Samba AD from one server to another

Rowland Penny rpenny at samba.org
Sun Sep 11 07:23:56 UTC 2016

On Sun, 11 Sep 2016 00:48:09 -0600
"Paul R. Ganci via samba" <samba at lists.samba.org> wrote:

> I would like to move a Samba AD from one server to another. I am
> finding the documentation on the web somewhat lacking. Can somebody
> point me to documentation that might help step me through an
> acceptable migration path?
> Will the command
>  > samba-tool drs clone-dc-database <dnsdomain> --server=SERVER 
> -targetdir=TARGETDIR
> essentially do what I want? Basically clone the AD on another server. 
> Then is it as easy as joining the new server to the domain and then 
> demoting the old server? How do others do this task?

If you just want to replace a DC with another DC, then you only need to
add the new DC to the domain, let replication do its thing, transfer
any FSMO roles from the old DC to the new DC, demote old DC and then
turn off the old DC.


More information about the samba mailing list