Switched to rsync

This commit is contained in:
Eldar Ikhsanov
2026-07-17 17:41:47 +03:00
parent df48a364c8
commit b1dcac46eb
+2 -2
View File
@@ -35,7 +35,7 @@ services:
# Same image as mc, but any base image with bash and tar will work # Same image as mc, but any base image with bash and tar will work
image: itzg/mc-backup image: itzg/mc-backup
restart: "no" restart: "no"
entrypoint: restore-tar-backup entrypoint: restore-rsync-backup
volumes: volumes:
# Must be same mount as mc service, needs to be writable # Must be same mount as mc service, needs to be writable
- ./mc-data:/data - ./mc-data:/data
@@ -57,7 +57,7 @@ services:
PRUNE_BACKUPS_COUNT: 3 PRUNE_BACKUPS_COUNT: 3
RCON_PASSWORD: ${RCON_PASSWORD} RCON_PASSWORD: ${RCON_PASSWORD}
RCON_PORT: 25585 RCON_PORT: 25585
BACKUP_METHOD: "tar" BACKUP_METHOD: "rsync"
volumes: volumes:
- ./mc-data:/data:ro - ./mc-data:/data:ro
- ./mc-backups:/backups - ./mc-backups:/backups