Neon Postgres backup/restore console with a Vue UI and FastAPI backend.
1.2K
A Dockerized, non-destructive by default backup/restore console for Neon Postgres using pg_dump and pg_restore, with a Vue 3 UI and a FastAPI backend.
--clean unless explicitly chosen)pg_dump/pg_restore (host must NOT include -pooler)docker run --rm -p 8000:8000 \
-e NEON_SOURCE_URL="postgresql://USER:PASSWORD@HOST/DB?sslmode=require&channel_binding=require" \
-e NEON_TARGET_URL="postgresql://USER:PASSWORD@HOST/DB?sslmode=require&channel_binding=require" \
-e NEON_API_KEY="..." \
-e NEON_PROJECT_ID="..." \
-e UI_PASSWORD="your-ui-password" \
-e UI_PORT="8000" \
-v $(pwd)/backups:/backups \
rewind4/neon-backup-console:latest
Open the UI at: http://localhost:8000
services:
neon-backup:
image: rewind4/neon-backup-console:latest
ports:
- "8000:8000"
environment:
NEON_SOURCE_URL: "postgresql://USER:PASSWORD@HOST/DB?sslmode=require&channel_binding=require"
NEON_TARGET_URL: "postgresql://USER:PASSWORD@HOST/DB?sslmode=require&channel_binding=require"
NEON_API_KEY: "..."
NEON_PROJECT_ID: "..."
UI_PASSWORD: "your-ui-password"
UI_PORT: "8000"
volumes:
- ./backups:/backups
Required:
Optional:
Backups are written to /backups inside the container. Mount a local folder:
-v $(pwd)/backups:/backups
Content type
Image
Digest
sha256:19ed84fe0…
Size
74.7 MB
Last updated
6 months ago
docker pull rewind4/neon-backup-console