[Samba] Backup Member Server

Ole Traupe ole.traupe at tu-berlin.de
Wed Dec 9 11:34:21 UTC 2015

Ok, "sysvol" won't exist on member servers, of course. Besides that, are 
all relevant Samba databases located in "private"?


Btw, regarding the use of the script for DCs:

I have to cron this as root:
0 2 * * *       root /usr/sbin/samba_backup

And I have to put the full path to "tdbbackup" in the script (or 
otherwise make sure the correct path is recognized via /etc/crontab).

Would be nice to have this in the Wiki.


Am 08.12.2015 um 15:26 schrieb Ole Traupe:
> 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

More information about the samba mailing list