[Samba] Backup of shared data-files

Viktor Trojanovic viktor at troja.ch
Thu Mar 14 19:12:25 UTC 2019

Hi Greg,

I'm assuming the reason for this was that Robert's answer pretty much 
covered it. Most backup tools still in development, and I'm including 
rsync here, do support extended attributes, so you're covered when it 
comes to ACL. The main question becomes if you need the backup itself to 
be encrypted, and if yes you might want to look at alternatives to rsync.

I heard good things about Borg that Robert mentioned, Rowland seems to 
use it, too. Personally, I currently use Restic which is similar to Borg 
but supports S3 type storage.

Hope this helps.


On 14.03.2019 19:16, Gregory Sloop via samba wrote:
> I'd like to re-flag this.
> I got a single reply - and wondered if there were any other approaches that I haven't considered - or if someone wants to detail their process.
> Thanks again
> -Greg
> Backup is currently a pretty hot topic - but most of the discussion I've seen has been around backup of the AD and not about files on a share.
> However, if I'm backing up the files in a Samba share [and lets assume it's a Windows share, with the Windows ACLs] what's a good way to capture the files, AND the ACL data so I could drop that data back on another samba share, if disaster strikes and maintain the ACL data, as best possible. Having the files alone is nice, but if it takes me 6 additional hours [or a couple of days] to go through things and set/reset all the ACL's so people have the right access, well that's a problem. [Or at least a problem I need to plan for...]
> [And yes, I understand that the AD back-end-data has to stay consistent for the ACLs to apply properly, but lets assume we're going to end up restoring the files to another share on a different AD server in the same domain.]
> Does rsync work?
> Duplicati? [my favorite]
> Thoughts or suggestions?
> [A search didn't return much.]
> -Greg

More information about the samba mailing list