cancel
Showing results for 
Search instead for 
Did you mean: 

Content rule copy to file system (outside repositiry)

invantix
Champ in-the-making
Champ in-the-making
I had and auditor here and they asked if our files would be available if the alfresco server goes down.  I am currenlty experiencing issues with the CIFS share dissapearing.  We operate 24 hours as we are manufacturing.  I have visions of me getting calls at 2AM that "WE can't get to the files".

I was thinking that it would be nice if as part of the "publish" content rule I copy the files outside the repository (to the windows file system) so that users can access them from a windows share that is stable. 

Is this possible? 
Is there another way to achieve this replication?

Thanks
3 REPLIES 3

jbarmash
Champ in-the-making
Champ in-the-making
Several options. 

1. You can create a content rule like you suggest.  Write something that will make a copy.
2. You can setup a replication against CIFS through rsync or something similar.
3. You can invest in high availability configuration. 

In general, if you start replicating files onto the file system, and encourage your users to use that, you lose advantages of having a content management system and need to make sure your users can't edit those files. 

Plus, you have double the storage.  So doing HA or working out your CIFS issues might be the most prudent choice.

invantix
Champ in-the-making
Champ in-the-making
1. You can create a content rule like you suggest.  Write something that will make a copy.
I am not clear on what you mean by "Write somethign that will make a copy".  I looked at all the out of the box choices for content rules. Anything relate to copying and moveing documents let you choose a space as the destination.  Is this somthing I would have to write code/script for or does this capability exist and I am not seeing it?  If I need to "write something", what would I use to write it?

Thanks,
Chris

jbarmash
Champ in-the-making
Champ in-the-making
The Actions framework is extensible - you can create your own actions.  I was suggesting that you write (in Java) an action that would allow you to do the copying.   You can write it and wire it up to appear in Alfresco UI along with the out of the box actions.