Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devholic/couchdb-loader
:rewind: Easy backup / restore for CouchDB
https://github.com/devholic/couchdb-loader
Last synced: about 2 months ago
JSON representation
:rewind: Easy backup / restore for CouchDB
- Host: GitHub
- URL: https://github.com/devholic/couchdb-loader
- Owner: devholic
- Created: 2015-08-08T08:02:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-11T07:21:52.000Z (over 9 years ago)
- Last Synced: 2024-10-12T12:49:54.795Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 141 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# couchdb-loader
Easy backup / restore for CouchDB## How to use
* Required Packages
* [moment.js](https://www.npmjs.com/package/moment)
* [node-schedule](https://www.npmjs.com/package/node-schedule)
* [request](https://www.npmjs.com/package/request)1. 프로젝트를 가져옵니다. (private repository에 fork뜨는거 추천)
2. settings.pref에 db주소와 사용자 계정을 설정합니다.
* backup_address
* backup.js가 변경내용을 확인할 주소입니다. *http://*를 제외한 나머지 url + DB이름을 설정해주세요.
* ex) db.example.com/testdb
* restore_address
* restore.js가 backup할 내용을 복원할 주소입니다. *http://*를 제외한 나머지 url + DB이름을 설정해주세요.
* ex) db.example.com/testdb
* id / password
* DB에 접근할 수 있는 아이디와 비밀번호를 설정해주세요.
3. CouchDB 서버가 켜져있는지 확인 한 뒤
```
node backup
```
으로 backup 서비스를 실행합니다. 참 쉽죠?!* 복원할 때는
```
node restore
```