Backup script for demo files
  • PHP 92.8%
  • Dockerfile 7.2%
Find a file
2021-07-31 14:33:07 +00:00
src encode url for download 2020-02-14 14:09:48 +01:00
.gitignore initial backup script 2017-06-10 13:48:42 +02:00
backup.php retry last page just in case 2017-06-16 17:31:07 +02:00
composer.json initial backup script 2017-06-10 13:48:42 +02:00
Dockerfile bumb php version 2020-02-14 14:03:54 +01:00
README.md Update README.md 2021-07-31 14:33:07 +00:00

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 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