[PATCH: Offline Backup 2]
aaronhaslett at catalyst.net.nz
Wed Aug 1 04:46:14 UTC 2018
Here's a new version of the patch. This version contains several bug
fixes, stylistic fixes, more detailed commenting, and moves the
tdbbackup test into lib/tdb so it can be run as part of tdb standalone.
On 25/07/18 16:50, Aaron Haslett wrote:
> The samba_backup bash script is a tool that creates a local backup of a
> DC using the file system. This patch replaces that script with a new
> samba-tool command called "domain backup offline".
> If the samba_backup bash script is used on a DC while it is running,
> there could be database corruption. This patch adds readonly locking
> mode to the tdbbackup tool and uses the new functionality to do a safe
> backup. Thorough testing is added, including a new testenv target
> constructed from a backup created by the new tool. The new target is
> tagged against all the same tests as the existing 'backup online' and
> 'rename' targets.
More information about the samba-technical