You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/backup/sap-hana-faq-backup-azure-vm.yml
+1-39Lines changed: 1 addition & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ metadata:
4
4
description: This article provides answers to common questions about backing up SAP HANA databases using the Azure Backup service.
5
5
ms.topic: faq
6
6
ms.service: backup
7
-
ms.date: 03/17/2024
7
+
ms.date: 05/13/2024
8
8
author: AbhishekMallick-MS
9
9
ms.author: v-abhmallick
10
10
ms.custom: engagement-fy24
@@ -124,44 +124,6 @@ sections:
124
124
answer: |
125
125
You can prune the HANA catalog using SAP recommended methods, such as BACKUP CATALOG DELETE statements or HANA Studio/Cockpit. Learn more how to [manage operations using SAP native clients](sap-hana-database-manage.md#manage-operations-using-sap-hana-native-clients).
126
126
127
-
- question: |
128
-
How can I use SAP HANA Backup with my HANA Replication set-up?
129
-
answer: |
130
-
Currently, Azure Backup doesn't have the capability to understand an HSR set-up. This means that the primary and secondary nodes of the HSR will be treated as two individual, unrelated VMs. You'll first need to configure backup on the primary node. When a fail-over happens, backup must be configured on the secondary node (which now becomes the primary node). There's no automatic fail-over of backup to the other node.
131
-
132
-
To back up data from the active (primary) node at any given point-in-time, you can *switch the protection* to the secondary node that has now become the primary after fail-over.
133
-
134
-
To perform this **switch protection**, follow these steps:
135
-
136
-
- [Stop protection](sap-hana-db-manage.md#stop-protection-for-an-sap-hana-database) (with retain data) on primary
137
-
- Run the [pre-registration script](https://go.microsoft.com/fwlink/?linkid=2173610) on the secondary node
138
-
- [Discover the databases](tutorial-backup-sap-hana-db.md#discover-the-databases) on the secondary node and [configure backups](tutorial-backup-sap-hana-db.md#configure-backup) on them
139
-
140
-
These steps must be performed manually after every fail-over. You can perform these steps through command line / HTTP REST in addition to the Azure portal. To automate these steps, you can use an Azure runbook.
141
-
142
-
Here's a detailed example of how **switch protection** must be performed:
143
-
144
-
In this example, you have two nodes - Node 1 (primary) and Node 2 (secondary) in the HSR set-up. Backups are configured on Node 1. As mentioned above, don't attempt yet to configure backups on Node 2.
145
-
146
-
When the first failover happens, Node 2 becomes the primary. Then,
147
-
148
-
1. Stop protection of Node 1 (previous primary) with the retain data option.
149
-
1. Run the pre-registration script on Node 2 (which is now the primary).
150
-
1. Discover databases on Node 2, assign backup policy, and configure backups.
151
-
152
-
Then a first full backup is triggered on Node 2 and after that completes, log backups start.
153
-
154
-
When the next fail-over happens, Node 1 becomes primary again and Node 2 becomes secondary. Now repeat the process:
155
-
156
-
1. Stop protection of Node 2 with retain data option.
157
-
1. Run the pre-registration script on Node 1 (which has become the primary again)
158
-
1. Then [Resume backup](sap-hana-db-manage.md#resume-protection-for-an-sap-hana-database) on Node 1 with the required policy (as the backups were stopped earlier on Node 1).
159
-
160
-
Then full backup will again be triggered on Node 1 and after that completes, log backups start.
161
-
162
-
>[!Note]
163
-
>[Running the pre-registration script](./tutorial-backup-sap-hana-db.md#prerequisites) with custom backup user as input could help you manage your HSR backups better. This is because it ensures that both the nodes of the HSR setup have the same backup key, thereby reduces the backup sync and failure issues.
164
-
165
127
- question: |
166
128
What happens if I don’t Stop protection (with retain data) on the secondary/inactive node on the HSR set-up?
0 commit comments