Sam Minnée
2006-Sep-07 23:32 UTC
[Samba] Feasibility question: get samba to back-up every version of a file
Hi everyone, How feasible would it be to get samba to back-up every version of a file that the Windows user saves? Specifically: 1) can you trap the "file saved" event somehow in a meaninful way? 2) is it possible to distinguish something like Access MDB access - ie, continual updates of some sort - from a regular file save? 3) what sort of level of knowledge of Samba, C/C++, Linux, and other things would be required to implement something like this? 4) given the requisite knowledge, how much work would be involved? 5) does something like this exist already? The idea is that you would be able to go back and recover deleted or overwritten files, as well as acting like CVS for normal people - document management. http://www.filejournal.com is a similar product, but it only works on your local drive. I realise that you would wind up using a lot of disk-space, etc, but you need a lot of word documents to fill up a 500 GB disk ;-) Sam Minnee SilverStripe sam@silverstripe.com +64 4 978 7334
Guido Lorenzutti
2006-Sep-08 03:40 UTC
[Samba] Feasibility question: get samba to back-up every version of a file
I rsync every hour from the samba server to a backup server + I do tape backups with bacula daily. I was never able to make work the "shadow copy" plugin with samba. Sam Minn?e wrote:> Hi everyone, > > How feasible would it be to get samba to back-up every version of a file > that the Windows user saves? Specifically: > > 1) can you trap the "file saved" event somehow in a meaninful way? > 2) is it possible to distinguish something like Access MDB access - ie, > continual updates of some sort - from a regular file save? > 3) what sort of level of knowledge of Samba, C/C++, Linux, and other > things would be required to implement something like this? > 4) given the requisite knowledge, how much work would be involved? > 5) does something like this exist already? > > The idea is that you would be able to go back and recover deleted or > overwritten files, as well as acting like CVS for normal people - > document management. > http://www.filejournal.com is a similar product, but it only works on > your local drive. > > I realise that you would wind up using a lot of disk-space, etc, but you > need a lot of word documents to fill up a 500 GB disk ;-) > > > > Sam Minnee > SilverStripe > sam@silverstripe.com > +64 4 978 7334 > >
Henrik Zagerholm
2006-Sep-08 06:22 UTC
[Samba] Feasibility question: get samba to back-up every version of a file
You can accomplish this with a VFS module. As I remember there was supposed to be a SoC project doing this but I don't know what happened. Using VFS you can trap all kinds of file operations (look at the recycle bin module to see how they move a file on delete instead of deleting it) You would need knowledge in C/C++ but you can probably figure a lot out by looking at the Audit module. If you would make one please send me a copy ;) Cheers, henrik 8 sep 2006 kl. 01:32 skrev Sam Minn?e:> Hi everyone, > > How feasible would it be to get samba to back-up every version of > a file > that the Windows user saves? Specifically: > > 1) can you trap the "file saved" event somehow in a meaninful way? > 2) is it possible to distinguish something like Access MDB access > - ie, > continual updates of some sort - from a regular file save? > 3) what sort of level of knowledge of Samba, C/C++, Linux, and other > things would be required to implement something like this? > 4) given the requisite knowledge, how much work would be involved? > 5) does something like this exist already? > > The idea is that you would be able to go back and recover deleted or > overwritten files, as well as acting like CVS for normal people - > document management. > http://www.filejournal.com is a similar product, but it only works on > your local drive. > > I realise that you would wind up using a lot of disk-space, etc, > but you > need a lot of word documents to fill up a 500 GB disk ;-) > > > > Sam Minnee > SilverStripe > sam@silverstripe.com > +64 4 978 7334 > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba