[Samba] Backup Member Server

Ole Traupe
Tue, 08 Dec 2015 14:26:13 -0000

Besides, obviously, the potential shared data on file servers, can't you
just use the script that is introduced for backing up DCs? At least if
the complete Samba installation is in "/usr/local/samba"...

https://wiki.samba.org/index.php/Backup_and_restore_an_Samba_AD_DC



Am 02.12.2015 um 20:06 schrieb Marc Muehlfeld:
> Hello James,
>
> Am 02.12.2015 um 15:57 schrieb James:
>>      Can someone point me to documentation on how to best backup a
samba
>> member server? I see the wiki currently does not contain one.
>>
>> Is it as simple as backup all shared folders with rysnc or similar that
>> will preserve ACLS along with the smb.conf? I'm currently relying
on a
>> raid solution. Thanks.
>
> Yes, I should finally write that doc. :-)
>
>
> What you should backup on a Domain Member:
> 1.) All files (share content and whatever else is important for you)
> 2.) Your smb.conf
> 3.) Your Samba databases (you can do a hotbackup with tdbbackup)
>
>
>
> Some notes about 3.:
> Depending on what your Domain Member is doing, some of the tdb files are
> important, while others are recreated and can get lost. There's nothing
> wrong if you backup all. :-) When I write the Wiki page, I might list
> which file is important for which case.
>
>
> Regards,
> Marc
>