cancel
Showing results for 
Search instead for 
Did you mean: 

moving very large content store and Solr data to another path/server path

dba100
Star Contributor
Star Contributor

hi,

right now has a task to relocate content service and Solor to other path and I know we have to move:

1) contentstore

2) contentstore.deleted

together, but the folder volumn is huge, any way to make full backup during the weekend and keep doing dailiy differential backup before switching path? 

this is to avoid switch over down time.

how about the same thing for Solr ? which is the :

1)solr4

2) solr4Backup

folder, both need when relocating the Solr history files ? what is the purpose of solr4Backup ?

4 REPLIES 4

angelborroy
Community Manager Community Manager
Community Manager

You may be using something like "rsync" to copy the files from "contentstore" and "contenstore.deleted", so you can switch only when that has finished.

SOLR folders can be also copied or "rsynched", including the backup folder (solr4Backup).

You need also to consider the database.

Hyland Developer Evangelist

tks..

in our Alfresco 5.0 path:

Alfresco\alf_data

we have many folder:

image

so for content store we just need to copy:

1) Contentstore

2) contentstore.deleted

right?

and this is the value we have to change for contentstore once moved the above?

dir.root=E:/Alfresco/alf_data  <and this change to the new folder path?>

alfresco.context=alfresco
alfresco.host=10.0.236.29 <and this change to the new host IP?>
alfresco.port=8080
alfresco.protocol=http

share.context=share
share.host=10.0.236.29 <and this change to the new host IP?>
share.port=8080
share.protocol=http

and solr function we just need to copy:

1) solr4

2)solr4Backup

right?

and this is the Solr config we have to change:

index.subsystem.name=solr4    <can change to  =solr6 after we try to move to Alfresco 7.1 , stay the same if just move to Alfresco 5.2 machine ?>
dir.keystore=D:/Alfresco/alf_data/keystore  <the new path after rsync?>
solr.port.ssl=8443

BUT rsync can ALSO only do full copy and can't do differential copy, and it just MUCH faster, right? our content store is 5.3TB !

have you tried rsync for these volumn of data? and how long it takes ?

"You need also to consider the database."

you mean PostgreSQL ?  the PostgreSQL folder above ? that one is all about PostgreSQL data right?

what is the oouser is about ? do we need to copy that?

it seems that from the configuration files Alfresco\tomcat\shared\classes\alfresco-global.properties, we can only change location of :

1) Content store

2) Solr 

3) PostgreSQL

?

how about search service ?  

This video is describing every element you need for a migration / upgrade:

https://www.youtube.com/watch?v=kHwq_f9PzYU&t

It's using a Linux environment, but the same applies for Windows deployments.

Hyland Developer Evangelist

but after you read my steps, that should be it ?