Fail to backup security yml files when running securityadmin.sh on opensearch 2.0.0

Hi all,

I am getting the below error when try to take a backup of the security yml files.

ERR: Seems audit from cluster is not in legacy format: java.io.IOException: A version of 1 can not have a _meta key for AUDIT

Below is the script I am running.

./securityadmin.sh -backup my-backup-directory
-icl
-nhnv
-cacert …/…/…/config/root-ca.pem
-cert …/…/…/config/node.pem
-key …/…/…/config/node.key

@asfoorial I can confirm the issue.
Could you report a bug on GitHub - Issues · opensearch-project/security · GitHub and share the GitHub link here?

For anyone looking for a follow-up. This issue was reported on GitHub and picked up by the dev team.