Revision 3365
Added by Aaron Marcuse-Kubitza over 12 years ago
Makefile | ||
---|---|---|
247 | 247 |
backupFile = schemas/$*.backup |
248 | 248 |
backup = env data=1 bin/pg_dump_vegbien $* >$(backupFile) |
249 | 249 |
|
250 |
# Note: This can't be used for the current (unrotated) public schema because |
|
251 |
# pg_dump doesn't back up the CREATE SCHEMA statement for it, assuming falsely |
|
252 |
# that public already exists because it's in template1. |
|
250 | 253 |
schemas/%/backup: _always |
251 | 254 |
$(if $(wildcard $(backupFile)),,$(backup)) |
252 | 255 |
|
Also available in: Unified diff
root Makefile: VegBIEN DB: Schemas: schemas/%/backup: Documented that it can't be used for the current (unrotated) public schema because pg_dump doesn't back up the CREATE SCHEMA statement for it