---
title: Back up OpenReports
project: OpenReports
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/openreports/1-0/guides/backups/
updated: 2026-11-19T07:46:36.798Z
---

# Back up OpenReports

> Find the file that holds your settings, views and reports, and back it up or restore it.

OpenReports keeps everything it needs in one file: `databases/memorize_data.json`. It holds the settings of **Configuration**, all views and all reports. Your report data stays in PostgreSQL; back that up with your usual PostgreSQL tools.

The file contains the connection string with its password and the API token. Keep your copies in a safe place.

## When the file is written

OpenReports writes the file about ten seconds after a change. Wait a little after your last change before you stop the app or copy the file.

## Back up

Copy the file while OpenReports is running or stopped:

```bash
cp databases/memorize_data.json memorize_data.backup.json
```

With [Docker](../install-docker/), the file is in the volume mounted at `/www/.src/databases`:

```bash
docker cp openreports:/www/.src/databases/memorize_data.json memorize_data.backup.json
```

## Restore

1. Stop OpenReports.
2. Copy your backup over `databases/memorize_data.json`.
3. Start OpenReports again.

OpenReports reads the file when it starts.
