source: Dev/trunk/db-pull-cloud-to-local.sh @ 500

Last change on this file since 500 was 497, checked in by hendrikvanantwerpen, 11 years ago
  • Better names for db backup and sync scripts.
  • Added SurveyRun? deletion in UI and prevent on server when a run has replies.
  • Property svn:executable set to *
File size: 253 bytes
Line 
1#!/bin/sh
2
3. ./env.sh
4
5if [ -z "$CLOUDANT_URL" ]; then
6    echo "Cloudant URL is not defined in env.sh"
7    exit 1
8fi
9
10curl http://localhost:5984/_replicate -H "Content-Type: application/json" -d "{\"source\":\"$CLOUDANT_URL/qed\", \"target\":\"qed\"}"
Note: See TracBrowser for help on using the repository browser.