netcmd: Add backend-store option to domain backup/rename cmds
authorTim Beale <timbeale@catalyst.net.nz>
Wed, 24 Oct 2018 20:03:53 +0000 (09:03 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Tue, 30 Oct 2018 23:30:16 +0000 (00:30 +0100)
commit5a57378d342e690c8736877fb481ef34b27d4ea4
tree2a2bb35640969e9ae773a5e40dae5a2d2f8cbc56
parent4a8a0ab32be3372888b02a4f0632246e483aa491
netcmd: Add backend-store option to domain backup/rename cmds

Currently the online/rename backup files always use the default backend
(TDB) and there is no way to change this.

This patch adds the backend-store option to the backup commands so that
you can create a backup with an MDB backend, if needed.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/join.py
python/samba/netcmd/domain_backup.py
python/samba/tests/domain_backup.py