Data and backup
Where BannerSystem keeps its data and how to back it up.
On this page
BannerSystem keeps all its data in the databases folder inside its own folder.
| Path | Contents |
|---|---|
databases/memorize_data.json | The banners with their statistics, and the configuration, including the access token. |
databases/campaigns.nosql | The campaigns with their views and clicks. |
databases/fs-files/ | The uploaded campaign images. |
In the Docker image, the folder is /www/.src/databases/. Keep it in a volume, as shown in Install with Docker.
Back up
- Stop BannerSystem.
- Copy the whole
databasesfolder to a safe place. - Start BannerSystem again.
To restore, stop BannerSystem, put the copy back in place of the databases folder and start BannerSystem.
memorize_data.json contains the access token. Keep your backups private.