Sign inSign up

tomy0000000/postgres-backup-dropbox

By tomy0000000

•Updated 4 days ago

Backup a postgres instance to Dropbox with `dbxcli`

Image
0

10K+

tomy0000000/postgres-backup-dropbox repository overview

⁠Postgres Backup to Dropbox

GitHub Workflow Status Docker Pulls

Backup a Postgres instance to Dropbox with dbxcli

⁠Usage

⁠Run one-off backup
docker run -it --rm --env-file '.env' tomy0000000/postgres-backup-dropbox:15
⁠Add to existing Docker Compose Application
  1. Add a docker-compose.override.yml to your existing application directory
  2. Copy and modify your environment variables in .env file
  3. Re-Run docker compose up -d
⁠Restore from the created backup
CONTAINER=''
POSTGRES_USER=''
cat 'backup.sql' | docker exec -i "$CONTAINER" psql -U "$POSTGRES_USER"

⁠References

Tag summary

Content type

Image

Digest

sha256:2ea5166a3…

Size

160.1 MB

Last updated

4 days ago

docker pull tomy0000000/postgres-backup-dropbox