|
Last change
on this file was
4,
checked in by David Owen <david.owen@…>, 14 years ago
|
|
Be more explicit about where the copyright applies
|
-
Property executable set to
True
|
|
File size:
302 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | |
|---|
| 3 | # Copyright (c) 2012 David Owen <dsowen@fugue88.ws> |
|---|
| 4 | # Licensed under the Academic Free License version 3.0. |
|---|
| 5 | |
|---|
| 6 | DB=`cat db` |
|---|
| 7 | |
|---|
| 8 | CURRENT=`./current` |
|---|
| 9 | echo Current is $CURRENT |
|---|
| 10 | |
|---|
| 11 | pg_dump -f schema-$CURRENT.sql -C -O -s $DB |
|---|
| 12 | pg_dump -f data-$CURRENT.sql -a --disable-triggers $DB |
|---|
| 13 | |
|---|
| 14 | echo Snapshot complete |
|---|
Note: See
TracBrowser
for help on using the repository browser.