---
title: "Comala Document Management Cloud backup and disaster recovery"
canonical: "https://support.appfire.com/space/SUPPORT/3826810892/Comala+Document+Management+Cloud+backup+and+disaster+recovery"
format: markdown
---
This article outlines the backup and disaster recovery (DR) capabilities for Comala Document Management (CDM) Cloud, specifically the storage of audit trails and workflow data in regulated environments.

## Summary

This article covers two scenarios for data protection in Comala Document Management Cloud:

- **Infrastructure-level disaster recovery:** How Atlassian and Appfire protect data at the platform level.
- **Compliance-driven manual backups:** How to export audit trails (Document Activity) for regulatory requirements, such as medical or quality management system (QMS) records, because standard Confluence site backups don't include them.

## Scenario 1: Infrastructure-level disaster recovery

Comala Document Management Cloud is built on the **Atlassian Forge** platform. Atlassian and Appfire share data storage and recovery responsibilities.

### Data storage and responsibility matrix

| Data category | Storage location | DR responsibility |
| --- | --- | --- |
| Workflow definitions, versions, and parameters | Forge SQL (Atlassian-hosted) | **Atlassian** (Forge platform DR) |
| Document workflow states, approvals, and decisions | Forge SQL (Atlassian-hosted) | **Atlassian** |
| **Document Activity history (audit trail)** | Forge SQL (Atlassian-hosted) | **Atlassian** |
| E-signature tokens and app records | Forge SQL (Atlassian-hosted) | **Atlassian** |
| `cdm-status` content properties (current state) | Confluence native | **Atlassian** (Confluence Cloud DR) |
| Labels applied by workflow actions | Confluence native | **Atlassian** |

### Key considerations

- **Platform DR:** Atlassian's Forge and Confluence Cloud DR processes cover all CDM-managed data for infrastructure-level incidents.
- **No self-service restore:** There's currently no customer-managed, self-service backup or restore for Forge-hosted app data.
- **App uninstallation:** Forge-hosted data is retained for **28 days** after you uninstall the app. To relink your data when you reinstall, submit a recovery request to Atlassian through Appfire within **21 days** of uninstalling.

---

## Scenario 2: Compliance-driven manual backups (audit trails)

For regulated industries, such as medical documentation, standard Confluence Cloud backups (XML or JSON) aren't sufficient because they **don't include** the full Document Activity history (Actor, Action, Comment, Date, State, Version).

### Limitations of standard backups

- **Native Confluence backup:** Includes only the `cdm-status` property (current state) and labels.
- **Audit trail exclusion:** The standard Confluence site export **doesn't** include the full audit trail stored in Forge SQL.
- **REST API:** There's currently no public REST API for bulk automated export of Document Activity history.

### Recommended workarounds for regulated records

To keep a copy of audit trails in a controlled repository, use the following manual export options.

### Export a space-level overview (Document Report)

To get a space-level summary of documents, workflow states, and reviewers:

1. Go to **Space Apps** > **Comala Document Management** > **Space Document Report**.
2. Select **Export to CSV**.

### Export a page-level audit trail (Document Activity)

To capture the history (Actor, Action, Comment, Date, State, Version) for a single document:

1. On the Confluence page, open the *Document Activity* dialog.
2. Select **Export to CSV**.

### Best practices

- **Document configurations:** Maintain internal documentation of critical workflow definitions and approval rules outside of Confluence.
- **Periodic exports:** Regularly export Document Reports or Activity logs to CSV and store them in your organization's controlled QMS or document management system, according to your retention policy.

## Atlassian documentation (platform and Forge)

- [Forge shared responsibility model](https://developer.atlassian.com/platform/forge/shared-responsibility-model/): Division of DR responsibilities for Forge apps.
- [Forge storage overview and data recovery](https://developer.atlassian.com/platform/forge/storage-reference/): Forge-hosted storage, retention, and recovery process.
- [Data lifecycle for Forge-hosted storage](https://developer.atlassian.com/platform/forge/storage-reference/hosted-storage-data-lifecycle/)
- [What data is backed up and restored](https://support.atlassian.com/organization-administration/docs/what-data-is-backed-up-and-restored/)