Socket
Socket
Sign inDemoInstall

@cloudant/couchbackup

Package Overview
Dependencies
Maintainers
3
Versions
479
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudant/couchbackup - npm Package Compare versions

Comparing version 2.0.1-SNAPSHOT.92 to 2.0.1-SNAPSHOT.93

4

package.json
{
"name": "@cloudant/couchbackup",
"version": "2.0.1-SNAPSHOT.92",
"version": "2.0.1-SNAPSHOT.93",
"description": "CouchBackup - command-line backup utility for Cloudant/CouchDB",

@@ -23,3 +23,3 @@ "homepage": "https://github.com/cloudant/couchbackup",

"dependencies": {
"async": "2.5.0",
"async": "2.6.0",
"commander": "^2.9.0",

@@ -26,0 +26,0 @@ "debug": "~3.1.0",

@@ -25,3 +25,3 @@ # CouchBackup

* **couchbackup does not do CouchDB replication as such, it simply streams through a database's `_changes` feed, and uses `POST /db/_bulk_get` to fetch the documents, storing the documents it finds on disk.**
* **couchbackup does not backup attachments, it is recommended to store attachments directly in an object store.**
* **couchbackup does not support backing up or restoring databases containing documents with attachments. It is recommended to store attachments directly in an object store. DO NOT USE THIS TOOL FOR DATABASES CONTAINING ATTACHMENTS.** [Note](#note-on-attachments)

@@ -391,1 +391,14 @@ ## Installation

* `10`: restore target database does not exist.
## Note on attachments
TLDR; If you backup a database that contains attachments you will not be able to restore it.
As documented above couchbackup does not support backing up or restoring databases containing documents with attachments.
Attempting to backup a database that includes documents with attachments will appear to succeed. However, the attachment
content will not have been downloaded and the backup file will contain attachment metadata. Consequently any attempt to
restore the backup will result in errors because the attachment metadata will reference attachments that are not present
in the restored database.
It is recommended to store attachments directly in an object store with a link in the JSON document instead of using the
native attachment API.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc