Hey,
dir exisit....
root at dc01:/autofs/backup# ls -la /autofs/backup/linux/samba_dom/backup.tgz/
insgesamt 12484
drwxr-xr-x 4 root root 4096 20. Nov 14:02 .
drwxr-xr-x 3 root root 4096 20. Nov 14:00 ..
-rw-r--r-- 1 root root 12765535 20. Nov 14:03
samba-backup-samba.laurenz.ws-2023-11-20T14-02-51.306281.tar.bz2
drwx------ 2 root root 4096 20. Nov 14:00 tmpdz6serc_
drwx------ 7 root root 4096 20. Nov 14:03 tmpwvnkjtkp
why member?
-----Urspr?ngliche Nachricht-----
Von: samba <samba-bounces at lists.samba.org> Im Auftrag von Rowland Penny
via
samba
Gesendet: Montag, 20. November 2023 14:48
An: samba at lists.samba.org
Cc: Rowland Penny <rpenny at samba.org>
Betreff: Re: [Samba] Online Backup failed....
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
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba