netcmd: domain backup restore command
authorAaron Haslett <aaronhaslett@catalyst.net.nz>
Mon, 30 Apr 2018 23:11:01 +0000 (11:11 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 3 Jul 2018 08:39:14 +0000 (10:39 +0200)
commit7844074621348b778ee0f8b73652f035cc5ec9ad
tree7d18c88a2a7eadc610a6993ef61b58cd4c97cf67
parente0301df111c5adbaa77299bb5d43c180cdd9df2c
netcmd: domain backup restore command

Add a command option that restores a backup file. This is only intended
for recovering from a catastrophic failure of the domain. The old domain
DCs are removed from the DB and a new DC is added.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
docs-xml/manpages/samba-tool.8.xml
python/samba/join.py
python/samba/netcmd/domain_backup.py