On Sat, 6 Sep 2025 23:17:03 +0200 Dirk Laurenz via samba <samba at lists.samba.org> wrote:> Domain Backup doesn't work on nfs but on local file system - in this > case nfs filesystemI think I understand what you are doing here, you appear to be running the backup command on a DC and attempting to store the resultant tarball in an NFS directory, that way the backup isn't on the DC.> > samba-tool domain backup online > --targetdir=/autofs/backup/linux/samba_dom --server=sdc01 > -UAdministrator > > Password for [SDOM\Administrator]:I do it a different way, I run the command on a Unix domain member and store the backup locally: samba-tool domain backup online -N --server=dc03.samdom.example.com --targetdir=/srv/backups/samdom.example.com --use-krb5-ccache=/tmp/backup_cc -d0 I wrap that in a bash script, which runs hourly and has done so for the last few years. I feel your problem has something to with NFS, permission problems ???? Rowland
Hi, yes it is on a nfs share... I can run it locally and copy it afterwards... -----Urspr?ngliche Nachricht----- Von: samba <samba-bounces at lists.samba.org> Im Auftrag von Rowland Penny via samba Gesendet: Sonntag, 7. September 2025 12:41 An: samba at lists.samba.org Cc: Rowland Penny <rpenny at samba.org> Betreff: Re: [Samba] Domain Backup On Sat, 6 Sep 2025 23:17:03 +0200 Dirk Laurenz via samba <samba at lists.samba.org> wrote:> Domain Backup doesn't work on nfs but on local file system - in this > case nfs filesystemI think I understand what you are doing here, you appear to be running the backup command on a DC and attempting to store the resultant tarball in an NFS directory, that way the backup isn't on the DC.> > samba-tool domain backup online > --targetdir=/autofs/backup/linux/samba_dom --server=sdc01 > -UAdministrator > > Password for [SDOM\Administrator]:I do it a different way, I run the command on a Unix domain member and store the backup locally: samba-tool domain backup online -N --server=dc03.samdom.example.com --targetdir=/srv/backups/samdom.example.com --use-krb5-ccache=/tmp/backup_cc -d0 I wrap that in a bash script, which runs hourly and has done so for the last few years. I feel your problem has something to with NFS, permission problems ???? Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
On Sun, Sep 7, 2025 at 6:42?AM Rowland Penny via samba <samba at lists.samba.org> wrote:> I do it a different way, I run the command on a Unix domain member and > store the backup locally: > > samba-tool domain backup online -N --server=dc03.samdom.example.com > --targetdir=/srv/backups/samdom.example.com > --use-krb5-ccache=/tmp/backup_cc -d0That is pretty cool. Is there a way to do this from a system that's not a domain member? Would like to have a remote host that can backup several AD's (different domains) over VPN's. Thanks, Chris