summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMarc Fournier <marc.fournier@camptocamp.com>2012-01-20 16:28:21 +0100
committerMarc Fournier <marc.fournier@camptocamp.com>2012-01-20 16:28:21 +0100
commitcca28df8d5ef7154bc16581d77193ddf10395252 (patch)
tree720265d576c10f031713e52122a8059fc8574d27 /templates
parent4423974d22df60c21bb705b653215bba688e3311 (diff)
couchdb-backup: use localhost instead of public couchdb interface.
Being able to do a full backup of couchdb from it's public interface doesn't seem like a great idea. Use localhost instead and restrict access on it's public interface.
Diffstat (limited to 'templates')
-rw-r--r--templates/couchdb-backup.py.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/couchdb-backup.py.erb b/templates/couchdb-backup.py.erb
index 4fa311f..c49df65 100644
--- a/templates/couchdb-backup.py.erb
+++ b/templates/couchdb-backup.py.erb
@@ -10,7 +10,7 @@ import simplejson
import couchdb.tools.dump
from os.path import join
-DB_URL="http://<%= bind_address %>:<%= port %>"
+DB_URL="http://127.0.0.1:5984"
DUMP_DIR="<%= backupdir %>"
TODAY=datetime.datetime.today().strftime("%A").lower()