Skip to content

Conversation

@DerRockWolf
Copy link
Contributor

Follow-up to / part of itzg/docker-mc-backup#247

This contains a breaking change: the new mcbackup.resticHostname field is required for users of mcbackup.backupMethod: restic.

I think that it is sensible to require the mcbackup.resticHostname instead of defaulting to e.g., minecraftServer.worldSaveName as this could have a side effect in the grouping of the restic snapshots and thus could lead to unexpected deletion of snapshots.

This is a breaking change as users with `mcbackup.backupMethod: restic`
must set this new field.
`resticHostname` sets the `RESTIC_HOSTNAME` environment variable with is
used by restic to determine the previous snapshot aswell as for things
like `restic forget` that group snapshots based on the hostname.
@itzg itzg merged commit 54b274b into itzg:master Oct 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants