Spanish Total.js
English
Documentation For AI agents
Contents

Back up your data

Which files hold your data and how to copy them safely.

.md GitHub
On this page

OpenMail keeps all its data in the databases folder inside the app folder.

The files

File or folderWhat it holds
databases/memorize_data.jsonProfiles, layouts, templates, API tokens and the configuration, including the primary access token.
databases/logs.nosqlThe logs of sent emails.
databases/fs-files/Images uploaded in the template editor.

Make a backup

1. Stop OpenMail.

2. Copy the databases folder:

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

3. Start OpenMail again.

memorize_data.json contains your SMTP passwords and all tokens in plain text. Store backups where only you can read them.

Restore a backup

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

Keep the logs small

logs.nosql grows with every email. To start over, stop OpenMail, move the file away and start OpenMail again. The next email creates a new file.

Made in Europe