backup documents
Thu, 03/01/2012 - 07:21
Hello!
I have the VPS-hosting. The OS is Centos-5
I set Couchbase Server 2.0.0, the location is /opt/couchbase. The active bucket is "default". There are some documents there.
Now I want to backup the data. I have read about it in http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-backup-rest....
It is recommended:
mbbackup [bucket_path_name] [dest_dir_path]
shell> mbbackup /var/opt/couchbase/1.6.4/data/ns_1/default /backups/2010-12-22/
But I can't even find [bucket_path_name] in my directories!There is no /var/opt/couchbase/version! Help me please to find [bucket_path_name]
Unfortunately, that part of the manual has not yet been updated for Couchbase Server 2.0. We should have a note in there about the difference, but do not. I'm sorry about that.
With Couchbase Server 2.0 Dev Preview, the best way to backup the system is to create a copy of all of the data files. They can be copied back into place for restore if needed at a later date. If you have a way to do this with a filesystem snapshot (your VPS may provide such a feature), that'd be best.