ibm-watson-data-lab / couchbackup-docker

Backup CouchDB databases to .couch files using Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

couchbackup-docker

CouchBackup-Docker is a command-line utility that allows a Cloudant or CouchDB database to be backed up to a .couch file. It comes with a companion command-line utility that can restore the backed up data.

Usage

Clone this repo:

git clone https://github.com/ibm-watson-data-lab/couchbackup-docker
cd couchbackup-docker

To back up, run:

./couchbackup.sh https://user:pass@myhost-to-be-backed-up.cloudant.com mydb

This will create a file named mydb.couch in the working directory.

To restore, run:

./couchrestore.sh https://user:pass@myhost-to-be-restored.cloudant.com mydb

This requires a mydb.couch file in the working directory.

About

Backup CouchDB databases to .couch files using Docker

License:Apache License 2.0


Languages

Language:Shell 100.0%