[Samba] Schedule samba backup

Rowland penny rpenny at samba.org
Thu Aug 29 20:24:45 UTC 2019


On 29/08/2019 21:14, Trenta sis via samba wrote:
> Correct with -k yes fails,

No it doesn't, it just prompts for a password when it gets to backing up 
sysvol

root at dc4:~# nano 
/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.pyroot at dc4:~# 
samba-tool domain backup online --targetdir=/root/ --server=dc4 -k yes
INFO 2019-08-29 16:54:58,896 pid:16393 
/usr/lib/python3/dist-packages/samba/join.py #1549: workgroup is SAMDOM
INFO 2019-08-29 16:54:58,897 pid:16393 
/usr/lib/python3/dist-packages/samba/join.py #1552: realm is 
samdom.example.com
Calling bare provision
..................................................................................................
.........................................................................
............................................................

Provision OK for domain DN DC=samdom,DC=example,DC=com
Starting replication
..................................................................................................
.........................................................................
............................................................

Committing SAM database
INFO 2019-08-29 16:56:10,650 pid:16393 
/usr/lib/python3/dist-packages/samba/join.py #1643: Setting 
isSynchronized and dsServiceName
INFO 2019-08-29 16:56:10,747 pid:16393 
/usr/lib/python3/dist-packages/samba/join.py #1555: Cloned domain SAMDOM 
(SID S-1-5-21-1768301897-3342589593-1064908849)
Password for [Administrator at SAMDOM.EXAMPLE.COM]:
INFO 2019-08-29 16:56:34,573 pid:16393 
/usr/lib/python3/dist-packages/samba/netcmd/domain_backup.py #124: 
Creating backup file 
/root/samba-backup-samdom.example.com-2019-08-29T16-56-34.378389.tar.bz2...
root at dc4:~#


Have you tried to report this bug ?

Rowland





More information about the samba mailing list