Back up your data
Copy the data folder of OpenAuth and restore it.
On this page
Everything OpenAuth keeps is in one folder: databases inside the OpenAuth folder (/www/.src/databases in Docker). See The data folder.
Make a backup
1. Stop OpenAuth, so every setting is written.
2. Copy the whole databases folder:
tar -czf openauth-backup.tar.gz databases3. Start OpenAuth again.
With Docker, copy the folder out of the container:
docker cp openauth:/www/.src/databases ./openauth-databasesThe backup holds the provider secrets and the tokens, so keep it as safe as the server.
Restore
Stop OpenAuth, replace the databases folder with the copy and start OpenAuth. Your tokens, extensions, provider settings, primary access token and the sign-in log are back.
Sign-ins in progress are not part of the backup; they live in memory only.