Couchbase user backup and restore

I’m using Couchbase 6.0 on a CentOS system and have taken a user backup using this command:

bash

curl -u Administrator:password http://localhost:8091/settings/rbac/users/local > /opt/userbackup/ubackup.json

Now I want to restore this user backup, but I see that the password is not included in the JSON file. I want the restored users to have the same passwords as before. Is it possible?

Hi - unless I’m mistaken backup/restore of user passwords is only available in later versions.