Revision 3395
Added by Aaron Marcuse-Kubitza over 12 years ago
backups/Makefile | ||
---|---|---|
33 | 33 |
|
34 | 34 |
##### Backups |
35 | 35 |
|
36 |
# Must come before %.sql with no prerequisites to be matched first |
|
37 |
%.sql: % |
|
38 |
$(restore) $< >$@ 2>$<.extract.log |
|
39 |
|
|
36 | 40 |
# Note: This can't be used for the current (unrotated) public schema because |
37 | 41 |
# pg_dump doesn't back up the CREATE SCHEMA statement for it, assuming falsely |
38 | 42 |
# that public already exists because it's in template1. |
... | ... | |
46 | 50 |
%/restore: % _always |
47 | 51 |
$(restoreBien) $< &>$<.log |
48 | 52 |
|
49 |
%.sql: % |
|
50 |
$(restore) $< >$@ 2>$<.extract.log |
|
51 |
|
|
52 | 53 |
##### Archived imports |
53 | 54 |
|
54 | 55 |
confirmRm = $(call confirm,WARNING: This will delete the archived import $(1)!) |
Also available in: Unified diff
backups/Makefile: Backups: Fixed bug where `%.sql: %` needed to come before %.sql with no prerequisites to be matched first