cancel
Showing results for 
Search instead for 
Did you mean: 

Content Binary Replication

unknown-user
Champ on-the-rise
Champ on-the-rise
Hi,

We have a DR env to which we replicate the DB and File system. The file system replication is done through lsyncd and I believe the lsyncd program is configured to monitor the root /contentstore directory. Any changes to the files will be replicated instantaneously to DR. Since it monitors the root contentstore directory (which includes content from the year 2010, 2011 & 2012), it puts the lsyncd program on heavy load. We are thinking of changing the lsyncd config to monitor only the current year's binaries.

The question is - Is there any scenario in Alfresco where a content binary file gets "updated"? For e.g - a content that got created in 2010 is modified, will it modify the actual binary file that is stored in /contentstore/2010/<month>/<day>/<hour>/<min>/<sec> or will it create a new binary file under /contentstore/2012/<month>/<day>/<hour>/<min>/<sec>? We just want to make sure that reducing the scope of lsyncd to monitor only the current year's directory wont break anything.

Thanks
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
No - content is never updated.

unknown-user
Champ on-the-rise
Champ on-the-rise
Thanks for the quick reply.

I was doing some test and it looks like when a document is edited, it moves the binaries from original directory to a new directory that is created based on the latest time stamp. If we exclude 2010 & 2011 directories from replication, wont it create an issue in this scenario?

mrogers
Star Contributor
Star Contributor
No content is not moved except Once it's no longer referenced,  in which case it's moved to contentstore.deleted.

You may (or may not). Want to consider delete from your replica.