Sign inSign up

maxwai/skripte-server-backup

By maxwai

Updated over 3 years ago

A Tool to periodically backup the HM Skripte Server

Image
0

906

maxwai/skripte-server-backup repository overview

Java GitHub license

GitHub Project Page

Skripte Server Backup Tool

Docker image that I use to make a periodic backup of the Script Server at the HM.

Getting Started

Needed environment variables
  • WEBSITE : The URL to the HM Script Server Website
  • USERNAME : The Username to login on the Website
  • PASSWORD : The Password to login on the Website
  • INTERVAL : The Interval on which the Script Server should be crawled.
    possibilities (<x> being a number):
    • <x>d : the interval is given in days
    • <x>h or <x> : the interval is given in hours
    • nothing less than 1 hour is allowed since this would be too much traffic to the Website
  • DEBUG - Optional : true or false for debug output. Default: false
Needed mappings

You need to map /save_location to where you want the Backup files to be put

Example Docker Compose

version: '3.2'

services:
  bot:
    container_name: ScriptServerBackup
    build: .
    restart: "unless-stopped"
    environment:
      - WEBSITE="https://example.com"
      - USERNAME="username"
      - PASSWORD="password"
      - INTERVAL="1d"
      - DEBUG="false"
    volumes:
      - ./save_location:/save_location

Tag summary

Content type

Image

Digest

sha256:773929eaf

Size

339.8 MB

Last updated

over 3 years ago

docker pull maxwai/skripte-server-backup