@Gaurav Pandey There are a couple of things to consider before going this path
- Functions don't really cost much if they aren't being executed (passive) apart from minimal storage costs if using a separate storage account. This is assuming consumption tier of course.
- Backup and restore doesn't make a lot of sense to me here. You would already have the code deployed as part of your DevOps Infra (say releases for a GitHub repository).
So, if you are on a different tier then you could spin up a new instance on-the-fly in the secondary region when required, with the code that you already have in your DevOps Infra.