cancel
Showing results for 
Search instead for 
Did you mean: 

Restore Problem

inishant12
Champ in-the-making
Champ in-the-making
HI ,
I am new to alfresco so please help me out
1)I am using alfresco version 4.2a due to system error I uninstalled the alfresco after copying the whole folder of the alfresco and again installed a fresh copy of the same version so how i can make the new one like the before one .
2)like i want to get all the folders and data like the previous one
please help, in advance thanks,it's urgent please….
3 REPLIES 3

douglascrp
World-Class Innovator
World-Class Innovator
In order to be able to restore your system, I'd have to make a backup of Alfresco's contentstore and a database backup.
To know where the Alfresco's contentstore is, you have to look at the dir.root parameter inside the alfresco-global.properties.
That is the folder you have to copy to be able to get your content back in the new Alfresco server. That of course, together with the database backup.

You can see the complete process of backup and restore here http://docs.alfresco.com/4.2/topic/com.alfresco.enterprise.doc/concepts/backup-intro.html

Hope it help

Thanks douglascrp for your reply but still the problem is there
I performed these steps
1)i copied the whole folder of alf_data from the previous one to new one
2) then i copied the whole folder of postgre
3)then the shared folder in the tomcat and paralelly the web app folder
after these i did change the index.recovery.mode to full in alfresco-global.properties file
now all data is coming but if i try to retrieve it like to see or to download it is throwing error 404
the previous version one and the new are in the same directory…
please help
the error is shown like this
The Web Script /alfresco/s/api/node/workspace/SpacesStore/fe7fd516-2ee4-4d7b-92ad-facce5e250ca/content/424px-Office-ms-excel.svg.png has responded with a status of 404 - Not Found.

404 Description:   Requested resource is not available.

Message:   10100004 Unable to locate content for node ref workspace://SpacesStore/fe7fd516-2ee4-4d7b-92ad-facce5e250ca (property: {http://www.alfresco.org/model/content/1.0}content)
   
Exception:   org.springframework.extensions.webscripts.WebScriptException - 10100004 Unable to locate content for node ref workspace://SpacesStore/fe7fd516-2ee4-4d7b-92ad-facce5e250ca (property: {http://www.alfresco.org/model/content/1.0}content)
   
   org.alfresco.repo.web.scripts.content.ContentStreamer.streamContent(ContentStreamer.java:371)
   org.alfresco.repo.web.scripts.content.StreamContent.streamContent(StreamContent.java:253)
   org.alfresco.repo.web.scripts.content.ContentGet.streamContentLocal(ContentGet.java:184)
   org.alfresco.repo.web.scripts.content.ContentGet.execute(ContentGet.java:167)
   org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:439)
   org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:447)
   org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:508)
   org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:546)
   org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:358)
   org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:376)
   org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   org.alfresco.web.scripts.servlet.StaticAssetCacheFilter.doFilter(StaticAssetCacheFilter.java:69)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
   org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
   org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
   org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
   org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
   org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   java.lang.Thread.run(Thread.java:724)

douglascrp
World-Class Innovator
World-Class Innovator
Don't you have the old server available yet?
I think the process you used to make your backup is wrong.
For the database, you usually have to perform a database dump, and then you "load" that dump in the new database server.
If possible, try to reexecute the backup and restore process following the steps in the link I sent to you.