Restore production data - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

The dir.root directory is defined in the alfresco-global.properties file. By default, this directory is named alf_data and located within the directory where Content Services is installed.

  1. Restore the backup into the new repository.

    If Solr is being used, put the following directories from your backup to the dir.root directory on a new instance:

    • contentstore directory
    • solr/workspace directory (optional)
    • solr/archive directory (optional)
    • contentstore.deleted directory
    Some directories are optional. This is because if the indexes are not copied over from the previous installation, Solr will query Content Services and rebuild its index in the background after start up. It may take more time to rebuild indexes on large repositories. Applications will be accessible during the reindex process.
  2. Point the new deployment to the old database using the db.* properties in the alfresco-global.properties file by providing the JDBC URL, database name, log in credentials, and any other relevant configuration options.
    Remember to specify the relevant JDBC driver into your application server’s classpath.