The simple version
copydb streams from source to target with no intermediate file. Confirm the prompt and DBDock takes care of the rest.
Scheduled overnight refresh
Create a cron job (or Kubernetes CronJob / GitHub Actions scheduled workflow):refresh-staging.sh:
Scrubbing sensitive data
The scrub-before-share pattern:Partial refresh (schema only)
Want to keep staging’s data but align its schema with production?Stale data detection
Add a check that staging is recent:Development workflow
For individual developers who want to pull latest prod data into their local:Serverless Postgres hosts
If your staging or production is on a serverless Postgres (Neon, Supabase pooler, PlanetScale Postgres), pass--driver:
copydb reference for details.
See also
dbdock copydb
Full command reference.
Retention strategies
Keep backup counts sane.

