docker-mc-backup
docker-mc-backup copied to clipboard
restic mode should make use of `--hostname` to avoid dependence on container name
In regular Docker the container name and therefore hostname can be stabilized easily. In kubernetes the container’s hostname is the pod name. With statefulsets that pod name will be stable, but not with deployments.
It seems like BACKUP_NAME could be used, but more thought is needed.