I am doing a bucket restore and I want to have only bucket schema like indexes , scopes and collections without data … Is there a way we can achieve this.
after I restore using this command I am not getting scopes and collections.
Starting from Server 7.6, when you use the --disable-data option (like you did) with cbbackupmgr restore command, the scopes and collections information will be restored (but not data). https://docs.couchbase.com/server/current/backup-restore/enterprise-backup-restore.html#whats-backed-up
You can download just the Server (dev) tools package which contains cbimport, cbexport, cbq, and cbbackupmgr – the latest 7.6.x cbbackupmgr is compatible with older 7.x versions.