source: Dev/trunk/backup.sh @ 490

Last change on this file since 490 was 476, checked in by hendrikvanantwerpen, 12 years ago

Added database backup and automatically versioned deploy message.

  • Property svn:executable set to *
File size: 258 bytes
RevLine 
[476]1#!/bin/sh
2
3CLOUDANT_URL=`cd quod-erat.git/; heroku config:get CLOUDANT_URL`
4curl http://localhost:5984/_replicate -H "Content-Type: application/json" -d "{\"source\":\"$CLOUDANT_URL/qed\", \"target\":\"qed-`date +'%Y%m%dt%H%M%S'`\", \"create_target\":true}"
Note: See TracBrowser for help on using the repository browser.