This commit is contained in:
Robin Appelman 2017-06-10 13:56:27 +02:00
commit 576d4f392c

15
README.md Normal file
View file

@ -0,0 +1,15 @@
# backup
Backup script for demos.
A simple script that incrementally backs up every demo file to a local directory.
## Usage
The following environment variables are required for the script
- `SOURCE`: The url of the api to backup the demos from (`https://api.demos.tf`)
- `STORAGE_ROOT`: The directory to store the demos in
- `STATE_FILE`: The textfile to store the backup progress in between runs
The script will look in a `.env` file if the variables aren't set in the environment