Backup script for demo files
  • PHP 92.8%
  • Dockerfile 7.2%
Find a file
2017-06-10 13:56:27 +02:00
src initial backup script 2017-06-10 13:48:42 +02:00
.gitignore initial backup script 2017-06-10 13:48:42 +02:00
backup.php initial backup script 2017-06-10 13:48:42 +02:00
composer.json initial backup script 2017-06-10 13:48:42 +02:00
README.md README 2017-06-10 13:56:27 +02:00

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