mirror of
https://codeberg.org/demostf/backup.git
synced 2026-06-03 09:54:18 +02:00
Backup program for demos.tf demos
- Rust 57.1%
- Nix 42.9%
| .github/workflows | ||
| nix | ||
| src | ||
| .dockerignore | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
backup-rs
Backup program for demos.tf demos.
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:
STORAGE_ROOT: The directory to store the demos in
STATE_FILE: The textfile to store the backup progress in between runs
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