mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
dump only the public schema when backing up the db
This commit is contained in:
parent
48ac29ae5d
commit
6f6a8c3f1b
1 changed files with 1 additions and 2 deletions
|
@ -163,8 +163,7 @@ module Export
|
|||
|
||||
[ password_argument, # pass the password to pg_dump
|
||||
"pg_dump", # the pg_dump command
|
||||
"--exclude-schema=backup", # exclude backup schema
|
||||
"--exclude-schema=restore", # exclude restore schema
|
||||
"--schema=public", # only public schema
|
||||
"--file='#{@dump_filename}'", # output to the dump.sql file
|
||||
"--no-owner", # do not output commands to set ownership of objects
|
||||
"--no-privileges", # prevent dumping of access privileges
|
||||
|
|
Loading…
Reference in a new issue