Since all tenants share the same database schema, the steps for a cold backup and restore are similar to the simple backup process. The steps also must take the use of tenant-based Content Routing (if applicable)into account. For example:

Backup

  1. Stop the application server (ensures no one can make changes while backing up or restoring.
  2. Export the database to Alfresco dir.root.
  3. If dir.root has enough space, copy each of the Tenant Root directories under dir.root/(or back them up separately).
  4. Back up the entire Alfresco dir.root.
  5. Start the application server.

Restore

  1. Stop the application server.
  2. Copy the existing dir.root to a temp location.
  3. Copy each of the existing Tenant Root directories to a temp location.
  4. Restore the dir.root.
  5. Copy each dir.root/ to their respective Tenant Root directories.
  6. Import the database from dir.root.
  7. Start the application server.
文档更新时间: 2019-05-23 22:39   作者:凌云文档