Sync Gateway User Migration Script

🚀 Features built in concurrency to speed up your migration!!!

Simple script to migrate users from one Sync Gateway instance to another.

Download users from your source Couchbase instance

into a files/sample.json file with the following structure:

      "admin_channels": [
      "admin_roles": [
      "name": "some_username"

Fetch Dependecies

go get

Build the binary

go build main.go

Run the binary

with url and db flags for the destination Sync Gateway Instance

./main -url=my_url -db=my_db

😊 Happy Migrating!


View Github