Search:

Search all manuals
Search this manual
Manual
Membase Manual 1.7
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
4 Membase Administration
Chapter Sections
Chapters

4.7. Backup and Restore with Membase

4.7.1. Backup
4.7.2. Restore in 1.7.0
4.7.3. Restore in 1.7.1 and higher

Membase stores the persisted data in an sqlite3 database. Each database is split into four shards with metadata in a database with the bucket's configured name. For example, a bucket named 'default' has the following five files:

default
default-0.mb
default-1.mb
default-2.mb
default-3.mb

The files are stored by default in /opt/membase/var/lib/membase/data. This path can be changed on a per-node basis when initially setting up the node: Chapter 3, Getting Started with Membase Server

When backing up or restoring a bucket, all files must be included.

Warning

Make sure that any restoration of files also sets the proper ownership of those files to the membase user