Skip to content

Instantly share code, notes, and snippets.

@pen-pal
Created January 27, 2025 15:37
Show Gist options
  • Save pen-pal/66a5a4b430e4e2e3348f15717adb68f6 to your computer and use it in GitHub Desktop.
Save pen-pal/66a5a4b430e4e2e3348f15717adb68f6 to your computer and use it in GitHub Desktop.
pg dump no acl and owner
pg_dump -U myuser -h localhost -d mydatabase --no-owner --no-privileges > mydatabase_backup.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment