[gamin] Using gamin for NAS-based CDP?



Hello.

I'm building a NAS server, and I need to implement Continuous Data Protection.

I've been pointed towards Gamin, and it looks to be what I need, but I'm not familiar with this whole area and I'm hoping I can get some help me get going.


So, first I need to be sure it'll do what I want...

- I was initially planning to go with Arch Linux, but it appears this comes with FAM. Would that cause conflicts with Gamin or could I just overwrite/disable it? (If I can't use Arch, any recommendations for what I can use, which can run from a 512MB CF card/RAMDISK?)

- Will Gamin work for changes over a network? My NAS will be serving to both Windows and MacOS clients.

- Are there any [numerical] limits I need to be aware of? (I'll be storing thousands of photos on the device.)



Assuming that's all okay, here is what I'm planning to do...

All the NAS data will be stored in a [root-level?] directory called , suprisingly enough, data. There'll be major directories inside that, and potentially several levels of minor directories within that. I need everything within /data to be protected.

Something along the lines of this:
/data/dev - active developments
/data/mix - misc & unsorted data
/data/music
/data/photos
/data/photos/store - raw images
/data/photos/active - active manipulations
/data/photos/final - finished photos
/data/web - webroot

My plan is to use gamin to notify every time a file is created or modified it will create a copy of the file within a backup directory.
Within that backup dir there would be a per-day directory which would then hold the relevant directories from data and then each file would be named with a timestamp.

So, I might have:
/backup/2007.02.22/mix/133533.569-wibble.html
/backup/2007.02.23/mix/201304.365-wibble.html
/backup/2007.02.23/photos/active/201345.184-myphoto.pspimage
/backup/2007.02.23/photos/active/201444.245- myphoto.pspimage

ie: the mask would be "/backup/{year}.{month}.{day}/{original_path}/{hour}{min}{sec}.{millisec}-{original_filename}"


It's probably a really trivial task to do this, but as I said I'm a newbie in this area and I'm hoping someone can just say "do this", and I can avoid poking about and potentially breaking things.


Thanks for any help. :)

--
\ \
Peter Boughton
blog.bpsite.net
/ /

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]