itzg / docker-mc-backup

Provides a side-car container to backup itzg/minecraft-server world data
https://hub.docker.com/r/itzg/mc-backup
MIT License
332 stars 52 forks source link

[Suggestion] Don't prune manual backups #191

Open Minecraftschurli opened 5 months ago

Minecraftschurli commented 5 months ago

Backups triggered manually could be marked in the name and excluded from pruning if option is set.

itzg commented 5 months ago

That's a great idea.

If someone wants to contribute a PR then that would be very helpful. It would involve enhancing the calls like

https://github.com/itzg/docker-mc-backup/blob/aea603f867e3aab2bb0165d7db93d595c6966ccb/scripts/opt/backup-loop.sh#L230