Closed thesebastianf closed 2 years ago
This could be a duplicate of #21, also see #32. What version are you running?
The error likely means your contents are changing while the archive is being created, so a fix might be copying over contents before creating the archive. See https://github.com/offen/docker-volume-backup#replace-deprecated-backup_from_snapshot-usage
uh thats seems spot on. in this case I would just like to exlude that 1 file for my daily backup on that container
I tried to add a exclude variable to exclude "home-assistant_v2.db"... but obviously dont understand it as it throws an error at docker up environment: BACKUP_FILENAME: homeassistant-%Y-%m-%dT%H-%M-%S.tar.gz BACKUP_PRUNING_PREFIX: homeassistant- BACKUP_RETENTION_DAYS: 60 BACKUP_EXCLUDE_REGEXP: ".db2$"
any hints?
In case the snippet you provided is from a docker-compose.yml
you will need to escape the $
using another $
, at least that's what works in the tests: https://github.com/offen/docker-volume-backup/blob/8c8a2fa0889a9906a4498b778fdf4902fad74bf0/test/ignore/docker-compose.yml#L12
See: https://docs.docker.com/compose/compose-file/#interpolation
Hey this was running fine when I started it. After missing some backups I checked the logs and found:
what is that write too long telling me?