Spanish Total.js
English
Documentation For AI agents
Contents

Data and backup

Where BannerSystem keeps its data and how to back it up.

.md GitHub
On this page

BannerSystem keeps all its data in the databases folder inside its own folder.

PathContents
databases/memorize_data.jsonThe banners with their statistics, and the configuration, including the access token.
databases/campaigns.nosqlThe 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

  1. Stop BannerSystem.
  2. Copy the whole databases folder to a safe place.
  3. 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.

Made in Europe