Fix couchdb backup endpoint; Set ENABLE_ZABBIX to FALSE by default

This commit is contained in:
Yao (Alwyn) Pan
2019-10-02 10:27:26 +10:00
committed by Alwyn Pan
parent aa1c8b3591
commit 36e4d9a2a2
2 changed files with 3 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ fi
### Functions
function backup_couch() {
TARGET=couch_${DBNAME}_${DBHOST}_${now}.txt
curl -X GET http://${DBHOST}:${DBPORT}/${DBNAME}/ all docs? include docs=true >${TMPDIR}/${TARGET}
curl -X GET http://${DBHOST}:${DBPORT}/${DBNAME}/_all_docs?include_docs=true >${TMPDIR}/${TARGET}
generate_md5
compression
move_backup