Anchal Nigam
2022-Mar-19 16:01 UTC
[Samba] Does samba have the ability to specify a backup location for files that are replaced/overwritten?
I want it so every time a client modifies an existing file from a samba share, samba, on the server, will make a backup copy of the file first. Either by making a backup or using some kind of hard-link mechanism. -- Thank you! _Nacho
Philippe LeCavalier
2022-Mar-21 01:01 UTC
[Samba] Does samba have the ability to specify a backup location for files that are replaced/overwritten?
I do this with rsync. It's a passive approach in the sense that rsync doesn't know if the client touched a file but if you create nightlies rsync can check the differences and send those deletes to an archive. In fact, this is how I provide backup services for most of my clients. Good luck. Thanks, Phil On Sat, Mar 19, 2022 at 12:03 PM Anchal Nigam via samba < samba at lists.samba.org> wrote:> I want it so every time a client modifies an existing file from a samba > share, samba, on the server, will make a backup copy of the file first. > Either by making a backup or using some kind of hard-link mechanism. > > -- > Thank you! > _Nacho > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >