From cca28df8d5ef7154bc16581d77193ddf10395252 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Fri, 20 Jan 2012 16:28:21 +0100 Subject: 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. --- templates/couchdb-backup.py.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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() -- cgit v1.2.3