Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
# Close the original samdb, to avoid any confusion, we will
# not use this any more as the data has all been copied under
# the transaction
+ samdb.disconnect()
samdb = None
# Open the new backed up samdb, flag it as backed up, and write
add_backup_marker(samdb, "backupType", "offline")
# Close the backed up samdb
+ samdb.disconnect()
samdb = None
# Now handle all the LDB and TDB files that are not linked to