Taking the backup of users and their passwords

We are using 6.6.x and 7.x couchbase servers. Is there any way we can take the backup of users along with their passwords … and to restore the same ?

see Users backup and restore - #2 by tmac

Here I don’t know the passwords. How can i recover that?

You only need the admin password. Refer to the link.

As an FYI, this is something we’re working on for a future release. cc @ianmccloy