[PATCH: Offline Backup 2] (ignore last one)

Aaron Haslett aaronhaslett at catalyst.net.nz
Wed Aug 1 04:51:46 UTC 2018

Patch attached and here's the CI run:


On 01/08/18 16:46, Aaron Haslett wrote:
> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: backup_offline.patch
Type: text/x-patch
Size: 52288 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180801/2c8c9873/backup_offline.bin>

More information about the samba-technical mailing list