I have a data bucket named “SourceBucket”.. I have few views and documents in that.. I need to migrate all those completely to another bucket named ” DestinationBucket”.. I m using c#.. Is this possible..
The problem for me is getting the documents and views from sourcebucket.. How can i get that..
Kindly help me out…
There’s nothing specific in the C# Couchbase client performing a migration. If you’re using Couchbase Server 2.0, you could use a view and perform inserts into the second bucket as you loop over the view. Another approach might be to use the backup and restore (outside of C#).
http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-backup-restore.html