Skip to content

v1.1.15 — Backup Overhaul: Scope, Format, Discord Upload & Colored Logs

Choose a tag to compare

@UberDudePL UberDudePL released this 18 Apr 17:21
· 65 commits to main since this release

⚓ Windrose Dedicated Server Docker v1.1.15

A full overhaul of the backup system — more control over what gets saved, where it goes, and how it looks in your terminal.

Changes

Backup scope and format

  • New BACKUP_SCOPE=full|save|both — choose between a full R5 archive, saves-only, or both in one run
  • New BACKUP_FORMAT=tar.gz|zip — ZIP is more convenient for Windows; the script prompts to install zip if missing (non-interactive: clear error)

Discord upload

  • New BACKUP_DISCORD_UPLOAD=true — sends the save archive as a file attachment to your Discord webhook after a successful backup
  • Files over 25 MB are skipped with a warning (Discord free tier limit)
  • Upload is skipped intentionally when BACKUP_SCOPE=full

Notifications

  • New BACKUP_NOTIFY_SUCCESS and BACKUP_NOTIFY_FAIL — send backup status via Gotify or Discord using the same backend as windrose notify

Logs and UX

  • Colored log output (log_info, log_ok, log_warn, log_error) in backup.sh and serverctl.sh
  • Inline DONE / FAILED status per step, filename shown after completion
  • Docker Compose and apt output suppressed during backup flow

Cron and reliability

  • install-backup-cron is now idempotent — re-running it replaces the existing job instead of adding a duplicate
  • Cron job appends timestamped output to backups/backup.log
  • backup.sh invoked via bash — no longer requires chmod +x

Housekeeping

  • Removed .env.production.example (was a duplicate of .env.example)
  • README updated with full backup configuration reference

Upgrade

# Pull the new helper scripts
git pull

# Update your .env
IMAGE_TAG=v1.1.15

# Optional: configure backup scope and Discord upload
BACKUP_SCOPE=both
BACKUP_FORMAT=zip
BACKUP_DISCORD_UPLOAD=true

# Reinstall cron to pick up the idempotent version
windrose install-backup-cron "0 6 * * *"