mirror of
https://github.com/demostf/backup.git
synced 2026-06-03 14:04:10 +02:00
Backup script for demo files
- PHP 92.8%
- Dockerfile 7.2%
| src | ||
| .gitignore | ||
| backup.php | ||
| composer.json | ||
| Dockerfile | ||
| README.md | ||
backup
Backup script for demos.
Deprecated, use backup-rs instead
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 inSTATE_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