allow specifying access key for backing up private demos

This commit is contained in:
Robin Appelman 2026-05-14 19:11:40 +02:00
commit a1b3b598e6
6 changed files with 50 additions and 15 deletions

View file

@ -2,13 +2,19 @@
Backup program for demos.tf demos.
A simple program that incrementally backs up every demo file from demos.tf to a local directory.
A simple program that incrementally backs up every demo file from demos.tf to a
local directory.
## Usage
The following environment variables are required for the program
The following environment variables are required for the program:
STORAGE_ROOT: The directory to store the demos in
STATE_FILE: The textfile to store the backup progress in between runs
The program will look in a .env file if the variables aren't set in the environment
The following optional environment variables can additionaly be supplied:
ACCESS_KEY_FILE: File containig the api access key, required to backup private demos
The program will look in a .env file if the variables aren't set in the
environment