Multi DC domain issues

Stefan (metze) Metzmacher metze at samba.org
Wed Oct 1 05:26:03 MDT 2014


Hi Chris,

WARNING! only the following is you are not using the bind9_dlz module!

> At the end need to run the following OFFLINE, making sure
> no samba/smbd related process is running anymore!!!
> And make sure you have enough diskspace the
> DC=DOMAINDNSZONES,DC=EXAMPLE,DC=INTERNAL,DC=COM.ldb
> needs to fit 2 additional times.
> 
> OFFLINE!!!
> 
> 
> tdbbackup DC\=DOMAINDNSZONES\,DC\=EXAMPLE\,DC\=COM.ldb
> tdbbackup DC\=DOMAINDNSZONES\,DC\=EXAMPLE\,DC\=COM.ldb.bak
> 
> tdbdump DC\=DOMAINDNSZONES\,DC\=EXAMPLE\,DC\=COM.ldb | md5sum
> tdbdump DC\=DOMAINDNSZONES\,DC\=EXAMPLE\,DC\=COM.ldb.bak.bak | md5sum
> 
> If the md5sums are the same go on:
> 
> mv DC\=DOMAINDNSZONES\,DC\=EXAMPLE\,DC\=COM.ldb
> DC\=DOMAINDNSZONES\,DC\=EXAMPLE\,DC\=COM.ldb.orig
> mv DC\=DOMAINDNSZONES\,DC\=EXAMPLE\,DC\=COM.ldb.bak.bak
> DC\=DOMAINDNSZONES\,DC\=EXAMPLE\,DC\=COM.ldb
> 
> Keep backups!
> 
> metze
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20141001/e97d0843/attachment.pgp>


More information about the samba-technical mailing list