PostgreSQL with wal-e backup installed
10K+
Configuration:
mount /var/lib/postgresql/data to a volume. The postgresql.conf file will be stored there too.
To enable backups, set:
wal_level = archive # minimal, replica, or logical
archive_mode = on
archive_command = 'wal-e wal-push %p'
You will also need to set environment variables which define WAL-E backups storage. For OpenStack Swift, these are:
SWIFT_AUTHURL, SWIFT_USER, SWIFT_PASSWORD, SWIFT_TENANT, WALE_SWIFT_PREFIX. Consult WAL-E documentation.
You can run a full backup with wal-e backup-push /var/lib/postgresql/data.
Content type
Image
Digest
Size
65.6 MB
Last updated
almost 9 years ago
docker pull akcjademokracja/postgresql-wal-e