Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.

Latest commit

 

History

History
17 lines (10 loc) · 572 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 572 Bytes

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