cancel
Showing results for 
Search instead for 
Did you mean: 

copy paste alf_data

e-no91
Champ in-the-making
Champ in-the-making
I don't really understand how to do the backup and restore thing. I've had trouble with the server and re-installed Alfresco for almost 4 times now and have to recreate users and site every single time. And to start Share takes a very very long time until I always receive a connection time out error.

Can I safely assume that by copying the alf_data folder into a different path, then uninstall alfresco, re-install again and just overwriting the folder, I do not have to created everything again??

Please help me on this, I needed to test many js files…
3 REPLIES 3

kaynezhang
World-Class Innovator
World-Class Innovator
Only backing up and restore alf_data is not enough ,you should also backup and restore database,lucene(solr) index,and your extension classpath

rjohnson
Star Contributor
Star Contributor
Not entirely sure of what you want to achieve but if you have done a standard install using an installer, everything should be under /var/alfresco. so to backup:-

Stop alfresco (alfresco.sh stop)
back up all of /var/alfresco with your preferred utility.
Start alfresco (alfresco.sh start).

Then if you need to fall back just stop alfresco, restore then start alfresco.

g_rathod
Star Contributor
Star Contributor
Hi e-no91,

You should take backup
#1) alf_data folder
#2) database script (.sql)
#3) your extension environment (your customizations)