mirror of
https://github.com/demostf/backup.git
synced 2026-06-03 14:04:10 +02:00
README
This commit is contained in:
parent
d5896cc6f3
commit
576d4f392c
1 changed files with 15 additions and 0 deletions
15
README.md
Normal file
15
README.md
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue