---
title: Back up your data
project: OpenLogger
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/openlogger/1-0/guides/backups/
updated: 2026-11-19T08:02:28.886Z
---

# Back up your data

> Which files hold your data, and how to back them up and restore them.

OpenLogger keeps all its data in the `databases` folder inside the app folder. With Docker, it is the volume mounted on `/www/.src/databases`. See [Install with Docker](../install-docker/).

## The files

| File | What it holds |
|---|---|
| `databases/logs.nosql` | All logs, one per line. |
| `databases/memorize_data.json` | The API tokens and the configuration, including the primary access token. |

## Make a backup

**1.** Stop OpenLogger.

**2.** Copy the `databases` folder:

```bash
cp -a databases databases-backup-$(date +%Y%m%d)
```

**3.** Start OpenLogger again.

`memorize_data.json` contains all tokens in plain text. Store backups where only you can read them.

## Restore a backup

Stop OpenLogger, replace the `databases` folder with the backup, and start OpenLogger again.

## Good to know

- Changes to tokens and the configuration are written to `memorize_data.json` about 10 seconds after you save them. Wait a moment before you stop the app.
- `logs.nosql` grows with every log. To keep it small, [download](../download-logs/) the logs you want to keep and [clear](../remove-logs/) the rest.
