summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2011-05-02 14:32:41 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2011-05-02 14:32:41 +0000
commitaafd6e4900f798d0342c77441ee8f39236baf4dc (patch)
tree1b1928a3b246bb3acdf54d0927907b4b14136fb1
parent8fc4fb4eb76010db4dafa564fc0904a4605ca013 (diff)
dbbackup in /srv
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@477 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xbackup-pg2
1 files changed, 2 insertions, 0 deletions
diff --git a/backup-pg b/backup-pg
index 68cd721..07a6896 100755
--- a/backup-pg
+++ b/backup-pg
@@ -46,6 +46,8 @@ elif [ -d /var/local/backup/pg ]; then
BASE=/var/local/backup/pg
elif [ -d /aux/dbbackup/pg ]; then
BASE=/aux/dbbackup/pg
+elif [ -d /srv/dbbackup/pg ]; then
+ BASE=/srv/dbbackup/pg
else
echo "Cannot find a backup target directory" >&2
exit 1