Skip to content

Instantly share code, notes, and snippets.

@jonathanlaf
Created March 25, 2024 02:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanlaf/495076cda9e6ab9dc1f1a57eb5411a31 to your computer and use it in GitHub Desktop.
Save jonathanlaf/495076cda9e6ab9dc1f1a57eb5411a31 to your computer and use it in GitHub Desktop.
containers:
java:
- name: java_backup
ssh: java:2222
passwordFile: /home/jlafleur/minecraft/java/.rcon-cli.yaml
worlds:
- /data/world
extras:
- /data/logs
- /data/mods
bedrock:
- name: bedrock_backup
ssh: bedrock:2222
passwordFile: /home/jlafleur/minecraft/bedrock/.remote-console.yaml
worlds:
- /data/worlds
extras:
- /data/logs
- /data/mods
schedule:
daily: 01:00
onLastLogout: true
minInterval: 4h
trim:
# Keep all backups for the last two days (today and yesterday)
# Keep at least one backup for the last 14 days
# Keep at least two backups per world
trimDays: 2
keepDays: 14
minKeep: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment