[Samba] SMB Shares with subversion backing store

Jeremy Allison jra at samba.org
Fri Nov 9 19:03:18 GMT 2007


On Fri, Nov 09, 2007 at 10:05:34AM -0500, Ross S. W. Walker wrote:
> To all,
>  
> I was wondering if it was possible to setup samba shares that use subversion as a backing store for the files.
>  
> Whenever a new file is created it is added to the subversion tree, whenever a file is opened it is checked out of the subversion tree, and whenever it is deleted it is removed from the subversion tree.
>  
> The idea is that one could use subversion to retain previous versions of files and the subversion tree can be replicated using subversion replication tools.
>  
> This would avoid costly COW operations for volume snapshots, provide better file control and auditing and allow files to be replicated in a consistent fashion.
>  
> A bonus would be allowing access to previous subversion versions using the "Previous Versions" feature.

You'd need to get a VFS written to do this. It's not
difficult, but requires custom programming. There
are various Samba support companies available that
could do this on contract.

Jeremy.


More information about the samba mailing list