[PATCH: Domain backup samba-tool command]

Rowland Penny rpenny at samba.org
Fri Mar 23 09:46:22 UTC 2018


On Fri, 23 Mar 2018 17:59:42 +1300
Aaron Haslett via samba-technical <samba-technical at lists.samba.org>
wrote:

> The exists shell script for backing up a domain doesn't lock things
> properly while doing the backup and could end up with a corrupt backup
> or cause a lockup.  Here's a new python script that actually works,
> along with tests and required fixes.
> 

Before we get carried away here, can I ask a couple of questions ?

Does 'python tarfile' backup acls and xattrs ?

Though the big question is, where does the '-r' option to tdbbackup
come from ?

I am using tdb-tools 1.3.15-1.1~deb9+1 on Devuan ascii and running:

tdbbackup -h

Gets me:

Usage: tdbbackup [options] <fname...>

   -h            this help message
   -s suffix     set the backup suffix
   -v            verify mode (restore if corrupt)
   -n hashsize   set the new hash size for the backup
   -l            open without locking to back up mutex dbs

No '-r'

Rowland



More information about the samba-technical mailing list