Add minecraft server backup

This commit is contained in:
Ethan Simmons
2024-10-21 16:46:46 -05:00
parent 40d00c42f7
commit 24efea29a8
2 changed files with 6 additions and 5 deletions

View File

@@ -0,0 +1,19 @@
source_directories:
- /home/eesim/configs/mc-distant-horizons/
repositories:
- path: ssh://lxojwl95@lxojwl95.repo.borgbase.com/./repo
label: "Minecraft-DH borgbase"
exclude_if_present:
- .nobackup
compression: auto,zstd
archive_name_format: '{hostname}-{now:%Y-%m-%d-%H%M%S}'
encryption_passcommand: 'cat /run/secrets/mc-dh/repo_password'
keep_hourly: 24
keep_daily: 7
keep_weekly: 4
keep_monthly: 2
keep_yearly: 1