pg-stand-sync: перенос БД со стенда на локальную PG
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"pg_bin_dir": "C:\\Program Files\\pgAdmin 4\\runtime",
|
||||
"dump_dir": "dumps",
|
||||
"keep_dumps": 5,
|
||||
|
||||
"source": {
|
||||
"host": "stand.example.lan",
|
||||
"port": 5432,
|
||||
"database": "zpas",
|
||||
"user": "readonly",
|
||||
"password_env": "STAND_PGPASSWORD",
|
||||
"sslmode": "prefer",
|
||||
"connect_timeout": 15
|
||||
},
|
||||
|
||||
"target": {
|
||||
"host": "localhost",
|
||||
"port": 5432,
|
||||
"database": "zpas",
|
||||
"user": "postgres",
|
||||
"password": "postgres",
|
||||
"maintenance_database": "postgres",
|
||||
"owner": "postgres",
|
||||
"recreate": true
|
||||
},
|
||||
|
||||
"dump": {
|
||||
"schema_only": false,
|
||||
"no_owner": true,
|
||||
"no_privileges": true,
|
||||
"compress": 6,
|
||||
"verbose": false,
|
||||
"schemas": [],
|
||||
"exclude_schemas": [],
|
||||
"exclude_tables": [],
|
||||
"exclude_table_data": []
|
||||
},
|
||||
|
||||
"restore": {
|
||||
"jobs": 4,
|
||||
"no_owner": true,
|
||||
"no_privileges": true,
|
||||
"clean": true,
|
||||
"exit_on_error": false,
|
||||
"verbose": false
|
||||
},
|
||||
|
||||
"post_restore_sql": []
|
||||
}
|
||||
Reference in New Issue
Block a user