我正在尝试启动Alfresco服务器,但它介于两者之间,请参见下面的屏幕快照,我已将Alfresco实例从一台服务器复制到另一台服务器,还对Alfresco-global.properties进行了必要的更改。>
请对此提供帮助
答案 0 :(得分:1)
要备份数据库和alf_data,可以下载并运行以下脚本。 http://www.contcentric.com/alfresco-backup/ 注意:您将必须从solr4文件夹和其他自定义项(如已部署的放大器和jar)中手动备份索引
Follow the alfresco restore steps
1. Install new alfresco instance. Do not start server
2. Start postgresql using the following command
./alfresco.sh start postgresql
3. Go to the <ALF-HOME>/postgresql/bin
4. Run the following commmand
psql -U alfresco -h <hostname> -p port
e.g. psql -U alfresco -h localhost -p 5422
5. It will ask you to set the password, enter the password and remember it
6. Run the following command
psql -U alfresco -h <host> -p port <dbname> < dumpFile
e.g. psql -U alfresco -h localhost -p 5422 alfresco < /opt/migration-backup/01-10-2018-15-54-47/database/alfresco_db_dump
7. You will notice the multiple tables and index are created
8. Start the tomcat using the following command
./alfresco.sh start tomcat
9. Test your migration.