cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to change server.

pablobenavides
Champ in-the-making
Champ in-the-making
Hi everyone! I have a big problem with my alfresco database :C.

The problem is that in the mysql server dedicated the hard disk has damage and had to move emergency database. We replace the IP in the new server mysql with configurations equals of the server damaged. In theory, is ok! but, files are no found when looking from applications developed than before if they were. We apply reindex thinking so would be solved but it did not work. We have no backup mysql, just one copy the database of the another server. What happened ? No way to generate the alf_content_data and alf_content_url from contentstore directory? the contentstore have all files.

Help me!

- Pablo Benavides
1 REPLY 1

rjohnson
Star Contributor
Star Contributor
Reindex fires up Lucene or SOLR to re-index your content. It finds that content by querying your database. These indexes are entirely separate from the database that contains the metadata and pointers to the actual documents on the disk. You have to back up your content, indexes and database regularly if you want to be sure you can recover from failure and you need to do it all at the same time whilst Alfresco is stopped or follow a very rigid pattern to create a hot backup. If you are virtualised you can snapshot the entire machine.

If you have no backup of your mySQL database you have a big problem. About all you could do would be to use the bulk importer to do an in-situ import of your content from your existing repository but this would give you essentially meaningless file names, a folder structure from hell and no metadata.

Do you really have no copy at all of your mySQL database files?