Sneha
April 12, 2025, 4:07pm
1
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.
1 Like
vipul
April 17, 2025, 4:07am
3
Hi, I agree with Michael.
This endpoint won’t provide user backup functionality in 6.0. Also, the passwords are not returned via API.
You can refer this link to resolve your issue - this link speaks about user backup functionality, added in 7.6: https://docs.couchbase.com/server/7.6/introduction/whats-new.html#backup-and-restore . The recommended way is via cbbackupmgr
2 Likes
system
Closed
July 16, 2025, 4:08am
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.