Hi @Artem Shaturskyi ,
Note: Accessing Recovery Services vaults and Backup vaults programmatically to extract backup data is not directly supported by Azure, as these are secure and managed storage entities designed to protect backup integrity and compliance.
Let me provide you couple of solutions, but Vault data cannot be stored in on premises or in Another subscription but he we have an alternate solution below
1.Create vm snapshot and store it in secondary subscription; the snapshot capture process can be automated using PowerShell scripts in an Azure Automation Account.
recovery service vault is one backup, and snapshot will be your secondary backup
Note: For Solution 2 and 3 still you cannot have control on recovery service backup vault data but solution 1 you have the full control on the snapshot
2.You enable The Cross Region Restore option allows you to restore data in a secondary, Azure paired region. You can use Cross Region Restore to conduct drills when there's an audit or compliance requirement. You can also use it to restore the data if there's a disaster in the primary region.
Before you begin, consider the following information:
3 Cross-subscription restore in an Azure Recovery Services Vault allows you to restore backed-up data, such as virtual machines or files, from one subscription to another, enabling flexibility in disaster recovery scenarios.
Refer: https://zcusa.951200.xyz/en-us/azure/backup/create-manage-backup-vault#cross-subscription-restore-using-azure-portal
https://zcusa.951200.xyz/en-us/azure/backup/backup-create-recovery-services-vault
let us know if you have any further queries. I’m happy to assist you further.
Please do not forget to "Accept the answer” wherever the information provided helps you, this can be beneficial to other community members.