Skip to content

JulienDrecq/pg_dump_exclude_table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Simple bash for exclude certain data tables (keeping schema)

Start & Exemple

  1. Add execution mode on the file pg_dump_exclude_table.sh:

chmod +x pg_dump_exclude_table.sh

  1. Run command

./pg_dump_exclude_table.sh test_db res_users res_company - dbname: test_db - exclude_table: res_users res_company - output: test_db_DATE.sql.gz

About

Execute pg_dump with excluding some tables

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages