[Samba] Domain Backup

Rowland Penny
Tue, 21 Oct 2025 10:46:47 -0000

On Mon, 20 Oct 2025 17:14:21 -0400
Sonic <sonicsmith at gmail.com> wrote:

> 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 -d0
>
> That 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

Not sure, never tried it, samba-tool would have to be installed and you
would have to use a username and password instead of the '-N
--use-krb5-ccache=/tmp/backup_cc' because no join, no kerberos cache.

Rowland