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
- Stop the application server (ensures no one can make changes while backing up or restoring.
- Export the database to Alfresco dir.root.
- If dir.root has enough space, copy each of the Tenant Root directories under dir.root/
(or back them up separately). - Back up the entire Alfresco dir.root.
- Start the application server.
Restore
- Stop the application server.
- Copy the existing dir.root to a temp location.
- Copy each of the existing Tenant Root directories to a temp location.
- Restore the dir.root.
- Copy each dir.root/
to their respective Tenant Root directories. - Import the database from dir.root.
- Start the application server.
文档更新时间: 2019-05-23 22:39 作者:凌云文档