You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The neat concept to create a point-in-time-backup by specifying REPLICATION_MODE=backup and --volume /srv/docker/backups/postgresql.$(date +%Y%m%d%H%M%S):/var/lib/postgresql \
does not work for a docker-compose file since the volume name cannot be resolved in the yaml syntax.
In order to allow for a declaration of a master and a backup container in a docker-compose file, it would be great if you could add an option, like BACKUP_SCHEDULE, that would persist the backup container continuously and creates a backup at regular time invervals defined by BACKUP_SCHEDULE in subfolders in the volume statically mounted to the container.
In order to illustrate my use case, consider the following docker-compose:
In this setup, the backup container should ideally persist and create a backup every 10 minutes under a subfolder in the mounted volume /srv/database_backup using BACKUP_PATTERN
Would that be possible?
The text was updated successfully, but these errors were encountered:
The neat concept to create a point-in-time-backup by specifying REPLICATION_MODE=backup and
--volume /srv/docker/backups/postgresql.$(date +%Y%m%d%H%M%S):/var/lib/postgresql \
does not work for a docker-compose file since the volume name cannot be resolved in the yaml syntax.
In order to allow for a declaration of a master and a backup container in a docker-compose file, it would be great if you could add an option, like BACKUP_SCHEDULE, that would persist the backup container continuously and creates a backup at regular time invervals defined by BACKUP_SCHEDULE in subfolders in the volume statically mounted to the container.
In order to illustrate my use case, consider the following docker-compose:
In this setup, the backup container should ideally persist and create a backup every 10 minutes under a subfolder in the mounted volume /srv/database_backup using BACKUP_PATTERN
Would that be possible?
The text was updated successfully, but these errors were encountered: