mirror of
https://codeberg.org/demostf/backup.git
synced 2026-04-21 16:22:44 +02:00
Backup program for demos.tf demos
- Rust 54.4%
- Nix 43.2%
- Dockerfile 2.4%
| .github/workflows | ||
| src | ||
| .dockerignore | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| docker.nix | ||
| Dockerfile | ||
| flake.lock | ||
| flake.nix | ||
| module.nix | ||
| overlay.nix | ||
| package.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 program will look in a .env file if the variables aren't set in the environment