Error dir.root restoring backup in alfresco 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2014 07:41 AM
I restored my weekend backup with this steps:
1) remove current alf_data.
2) copy backup alf_data to dir.root.
3) empty database.
4) restore database with mysql weekend backup.
5) remove "alf_data/lucene_indexes"
6) set "index.recovery=FULL"
The "alf_data" and "DB" are the originals that are outside the instance where Alfresco is recovered.
But I always have the "dir.root" error showed:
My dir.root is the same as defined in that files:
- "Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties"
- "Alfresco/tomcat/shared/classes/alfresco/extension/custom-repository.properties"
I want to restore all my backup data ("alf_data" folder and "mysql" backup file). I don't want to do this loosing my content. This is installed in ubuntu server.
What am I doing wrong?
thanks a lot in advance.
1) remove current alf_data.
2) copy backup alf_data to dir.root.
3) empty database.
4) restore database with mysql weekend backup.
5) remove "alf_data/lucene_indexes"
6) set "index.recovery=FULL"
The "alf_data" and "DB" are the originals that are outside the instance where Alfresco is recovered.
But I always have the "dir.root" error showed:
11:24:04,354 INFO [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent] Reindex 100% complete11:24:04,354 INFO [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent] Finished rebuilding indexes for AVM Stores11:24:04,896 INFO [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /mnt/alfresco/alf_data11:24:04,934 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.11:24:04,934 ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.11:24:04,937 ERROR [org.springframework.web.context.ContextLoader] Context initialization failedorg.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property is pointing to the correct data location. at org.alfresco.repo.admin.ConfigurationChecker.check(ConfigurationChecker.java:312) at org.alfresco.repo.admin.ConfigurationChecker.access$000(ConfigurationChecker.java:72) at org.alfresco.repo.admin.ConfigurationChecker$1.execute(ConfigurationChecker.java:178) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:246) at org.alfresco.repo.admin.ConfigurationChecker.onBootstrap(ConfigurationChecker.java:182) at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62) at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77) at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
My dir.root is the same as defined in that files:
- "Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties"
- "Alfresco/tomcat/shared/classes/alfresco/extension/custom-repository.properties"
I want to restore all my backup data ("alf_data" folder and "mysql" backup file). I don't want to do this loosing my content. This is installed in ubuntu server.
What am I doing wrong?
thanks a lot in advance.
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2014 11:14 AM
Hi cperez,
There are many things that can go wrong in a restore.
You might want to check the permissions on the alf_data directory. Also, when backing up Alfresco you'll need to follow the backup procedures described in here: http://docs.alfresco.com/3.4/concepts/backup-intro.html
Make sure you follow the instruction in the same order (specially for hot backups).
There are many things that can go wrong in a restore.
You might want to check the permissions on the alf_data directory. Also, when backing up Alfresco you'll need to follow the backup procedures described in here: http://docs.alfresco.com/3.4/concepts/backup-intro.html
Make sure you follow the instruction in the same order (specially for hot backups).
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2014 04:24 AM
What you have described should work. So it's the detail of a step that's wrong. Or something you have not described.
P.S there was no need to change the file below web inf. dont want to see that being done.
P.S there was no need to change the file below web inf. dont want to see that being done.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2014 07:47 AM
Thanks to all.
I change it to a previously backup and with the same steps i used works.
Maybe there was a error in some file.
Thanks for your time.
I change it to a previously backup and with the same steps i used works.
Maybe there was a error in some file.
Thanks for your time.