Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save adithya321/f377f1d0edb7490638cf00dcea81d55c to your computer and use it in GitHub Desktop.
Save adithya321/f377f1d0edb7490638cf00dcea81d55c to your computer and use it in GitHub Desktop.
pg_dump is a utility for backing up a PostgreSQL database. It makes consistent backups even if the database is being used concurrently. pg_dump does not block other users accessing the database (readers or writers). Dumps can be output in script or archive file formats.
pg_dump -h localhost -U prisma -Fc prisma > customdumpfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment