cancel
Showing results for 
Search instead for 
Did you mean: 

Moving alf_data on network drive

simonj
Champ in-the-making
Champ in-the-making
Hi,
I need to move the alf_data on a network drive and it does not seem to work.
I'm using alfresco community 4.0e on windows server 2008 R2.

I updated alfresco-global.properties and added those 2 lines:

dir.root=//Xfiles/info$/Archive_GED_Entretien/alf_data
dir.keystore=C:/Alfresco/alf_data/keystore

I have also tried this :

dir.root=R:/Archive_GED_Entretien/alf_data
dir.keystore=C:/Alfresco/alf_data/keystore

can anyone help?
Thanks
19 REPLIES 19

luyanda
Champ in-the-making
Champ in-the-making
I removed them but still does the same the same thing. But when i copy content from the default drive which is C: it runs.
So my main concern is, by trying to create new storage point is more of making backup. Do i have to copy old content to the new storage?

luyanda
Champ in-the-making
Champ in-the-making
Now i can't find the content when i do the search in the repository yet it update on new store.
What could be the problem?

luyanda
Champ in-the-making
Champ in-the-making
Now i am able to search. My concern now is, i am suppose to copy the old alf_data on the other drive to the new one? because if i leave the new store empty i'm not able to access alfresco (can't login).

mrogers
Star Contributor
Star Contributor
yes of course you need to move the data to the new location.

luyanda
Champ in-the-making
Champ in-the-making
Is it possible to create new content on the new contentstore beside copying the old alf_data contettent store. Lets say the default drive is C: and now you want to use a new drive which is D:..

Please help me.

luyanda
Champ in-the-making
Champ in-the-making
Hi Mrogers,

What if i want to use a contentstore selectore for multiple storage without copying alf_data. Because what i would like to achieve is to apply the property define in the contentstore selector file and use a rule or script to create content into the new store.

I have done the following:I enabled the content-store-selector-context.xml file in C:alfresco/tomcat/shared/classes/alfresco/extension and added the aspect and the property name in share-config-custom.xml in C:alfresco/tomcat/shared/classes/alfresco/web-extension. I applied the aspect and created a rule to store new content into the new storage specified in the contentstore selector. But still i can't get it right.

Please assist me.

I'm using Alfresco Enterprise 4.1.4

houblonde
Champ in-the-making
Champ in-the-making
I followed those steps many times and different ways, I can't make it works. So I tried to go as simple as possible.
Here is my configuration, to avoid network issue, but still my goal is to put it on the network at the end :
dir.root=C:/Alfresco/alf_data
dir.contentstore=C:/Test/contentstore
dir.contentstore.deleted=C:/Test/contentstore.deleted

The contentstore and .deleted haven'd get recreated.
I tried \\ instead of /, no change.
I did try with and without deleting the Database.
psql -U postgres -c "drop database alfresco;"

I'm on a Windows 2008 R2 and I'm running Alfresco 4.2F.

Now I'm running out of idea.

And once I'm in this situation, I need to re-install everything.
just like I corrupted something and can't recover from it.

Thanks for any help



mrogers
Star Contributor
Star Contributor
Luganda,

You can use the ReplicatingContentStore with inbound and outbound replication turned off to have your old data on c and new data on d.

Or call alfresco support for help with the content store selector.   They will require more details than "I can't get it right".    And please note that policy driven storage should not be used for disk management.     I'm working with the docs team at the moment to get this documented better.

fedemori
Champ in-the-making
Champ in-the-making
To use a network drive don't use the mapping letter in the properties but the UNC path

NO
<code>
dir.root=C:/ALFRES~2/alf_data
dir.contentstore=\\\\D:\\Alfresco1\\alf_data\\contentstore
dir.contentstore.deleted=\\\\D:\\Alfresco1\\alf_data\\contentstore.deleted
<code>

but
<code>
dir.root=C:/ALFRES~2/alf_data
dir.contentstore=//server/alfresco/alf_data/contentstore
dir.contentstore.deleted=//server/alfresco/alf_data/contentstore.deleted
<code>

gnanad
Champ in-the-making
Champ in-the-making
Hello All,

i'm new in alfresco Smiley Happy
i just read this threat, and thinking if i'm moving alf_data, contentstore to drive's attached (NAS), can i follow this step to ?
or if any step for moving alf_data & contentstore to attached drive (NAS) could you all please suggest to me?

very appreciate to all of you Smiley Happy