source: Dev/trunk/db-push-local-to-cloud.sh @ 497

Last change on this file since 497 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 "{\"target\":\"$CLOUDANT_URL/qed\", \"source\":\"qed\"}"
Note: See TracBrowser for help on using the repository browser.