I had Alfresco Community Edition ver. 3.3 running on a virtual instance of Ubuntu 10.10 Server 32bit. After discovering we can run it on a 64 bit version of VM of Ubuntu Server and should see some performance gains I want to move everything over to the new VM. So I follow these stepshttp://wiki.alfresco.com/wiki/Backup_and_Restore#Cold_Backup_Procedure to do a cold backup and restore
1. Stop Alfresco on the 32 bit VM 2. Take a backup of the MYSQL alfresco db (mysqldump -u root -ppword alfresco > alfrescodump.sql 3. Backup the dir.root directory as specified in the alfresco.global.properties file (tar -cvzf /opt/backupfile.gz /opt/alfresco/alf_data) 4. I FTP both files in Binary mode over to the new 64 bit Ubuntu VM on which I have already installed the same version of Alfresco 3.3 CE and can successfully log in to http://64bitservername:8080/share 5. I stop alfresco on the 64bit VM (/opt/alfresco/alfresco.sh stop) 5. The current Alfresco install on the 64 bit Ubuntu version has the same dir.root dir specified in it's alfresco.global.properties file so I extract the alf_data and overwrite (tar zxvf /opt/backupfile.gz –overwrite) 6. I create an alfresco DB on the 64 bit VM (mysql -u root -ppword then Create database alfresco) 7. I restore the alfresco db (mysql -u root -ppword < alfrescodump.sql) 8. I start alfresco (/opt/alfresco/alfresco.sh start)
java.io.IOException: Unable to test document path: alfresco/site-data/configurations/slingshot.site.configuration.xml in remote store: alfresco due to error: 404 org.springframework.extensions.webscripts.RemoteStore.hasDocument(RemoteStore.java:347) org.springframework.extensions.surf.persister.PathStoreObjectPersister.getObject(PathStoreObjectPersister.java:216) org.springframework.extensions.surf.persister.MultiObjectPersister.getObject(MultiObjectPersister.java:98) org.springframework.extensions.surf.ObjectPersistenceService.getObject(ObjectPersistenceService.java:126) org.springframework.extensions.surf.ModelObjectService.getObject(ModelObjectService.java:507) org.springframework.extensions.surf.ModelObjectService.getConfiguration(ModelObjectService.java:135) org.springframework.extensions.surf.site.SiteUtil.getSiteConfiguration(SiteUtil.java:99) org.springframework.extensions.surf.support.AbstractRequestContext.getSiteConfiguration(AbstractRequestContext.java:138) org.springframework.extensions.surf.mvc.ThemeInterceptor.preHandle(ThemeInterceptor.java:66) org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter.preHandle(WebRequestHandlerInterceptorAdapter.java:54) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:761) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Also of note is the the new 64bit VM is using the same ip old 32 bit VM. Obviously I shutsown the 32bit VM before bringing up the 64 bit VM. What am I doing wrong?
I've started to put some comments in there (and a diagram of some of the folder structure) covering other areas that should be covered or in a backup if you are going to have a hope of a working restore.
Note that I'm still trying to identify what I backup before I see if I can get it to work in a restore!