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

This adds a samba-tool command that can be run against a remote DC to
produce a backup-file for the current domain. The backup stores similar
info to what a new DC would get if it joined the network.

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.py
python/samba/netcmd/domain_backup.py [new file with mode: 0644]