[Samba] Online Backup failed....

Rowland Penny rpenny at samba.org
Mon Nov 20 13:48:06 UTC 2023


On Mon, 20 Nov 2023 14:21:53 +0100
Dirk Laurenz via samba <samba at lists.samba.org> wrote:

> Hello everybody,
> 
>  
> 
> i tried "samba-tool domain backup online --server=dc01
> --targetdir=/autofs/backup/linux/samba_dom/backup.tgz -U
> administrator"

Does the /autofs/backup/linux/samba_dom/backup.tgz directory actually
exist ?
To me it looks like a compressed file.

I have a script that runs every hour to backup my domain and it uses
this:

samba-tool domain backup online -N --server="$PDCe"
--targetdir=/srv/backups/$(hostname -d) --use-krb5-ccache=/tmp/backup_cc

and I end up with the directory /srv/backups/samdom.example.com full of
files like this:

samba-backup-samdom.example.com-2023-11-20T12-45-15.011687.tar.bz2

I suppose I should also say that I run the script on a Unix domain
member and not on the DC.

Rowland




More information about the samba mailing list