Back up your data
Which folder to copy so you can restore files, tokens, settings and the account.
On this page
Everything OpenFiles keeps is in one folder: databases inside the OpenFiles folder (/www/.src/databases in Docker). See The data folder.
Make a backup
1. Stop OpenFiles, so no upload is half written.
2. Copy the whole databases folder:
tar -czf openfiles-backup.tar.gz databases3. Start OpenFiles again.
With Docker, copy the folder out of the container:
docker cp openfiles:/www/.src/databases ./openfiles-databasesRestore
Stop OpenFiles, replace the databases folder with the copy and start OpenFiles. Your storages, files, links, API tokens, settings and account are back.
If you index files in PostgreSQL, back up that database at the same time.