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-db-manage.md
+2-36Lines changed: 2 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Manage backed up SAP HANA databases on Azure VMs
3
3
description: In this article, learn common tasks for managing and monitoring SAP HANA databases that are running on Azure virtual machines.
4
4
ms.topic: conceptual
5
-
ms.date: 11/02/2021
5
+
ms.date: 02/09/2022
6
6
author: v-amallick
7
7
ms.service: backup
8
8
ms.author: v-amallick
@@ -88,41 +88,7 @@ Restores triggered from HANA native clients to restore to another machine are no
88
88
#### Delete
89
89
90
90
Delete operation from HANA native is **NOT** supported by Azure Backup since the backup policy determines the lifecycle of backups in Azure Recovery services vault.
91
-
92
-
### Run SAP HANA native client backup to local disk on a database with Azure Backup enabled
93
-
94
-
If you want to take a local backup (using HANA Studio / Cockpit) of a database that's being backed up with Azure Backup, do the following:
95
-
96
-
1. Wait for any full or log backups for the database to finish. Check the status in SAP HANA Studio/ Cockpit.
97
-
2. For the relevant database:
98
-
1. Unset the backint parameters. To do this, double-click **systemdb** > **Configuration** > **Select Database** > **Filter (Log)**.
99
-
* enable_auto_log_backup: No
100
-
* log_backup_using_backint: False
101
-
* catalog_backup_using_backint:False
102
-
3. Take an on-demand full backup of the database
103
-
4. Then reverse the steps. For the same relevant DB mentioned above,
104
-
1. Re-enable the backint parameters:
105
-
1. catalog_backup_using_backint:True
106
-
1. log_backup_using_backint: True
107
-
1. enable_auto_log_backup: Yes
108
-
109
-
### Manage or clean-up the HANA catalog for a database with Azure Backup enabled
110
-
111
-
If you want to edit or clean up the backup catalog, do the following:
112
-
113
-
1. Wait for any full or log backups for the database to finish. Check the status in SAP HANA Studio/ Cockpit.
114
-
2. For the relevant database:
115
-
1. Unset the backint parameters. To do this, double-click **systemdb** > **Configuration** > **Select Database** > **Filter (Log)**.
116
-
* enable_auto_log_backup: No
117
-
* log_backup_using_backint: False
118
-
* catalog_backup_using_backint:False
119
-
3. Edit the catalog and remove the older entries
120
-
4. Then reverse the steps. For the same relevant DB mentioned above,
121
-
1. Re-enable the backint parameters
122
-
1. catalog_backup_using_backint:True
123
-
1. log_backup_using_backint: True
124
-
1. enable_auto_log_backup: Yes
125
-
91
+
.
126
92
### Change policy
127
93
128
94
You can change the underlying policy for an SAP HANA backup item.
1. Take an on-demand backup (full / differential/ incremental) on the desired database, and wait for the backup and catalog backup to complete.
126
-
1. If you want to also move the log backups to the Filesystem, set enable_auto_log_backup to **yes**.
126
+
1. If you want to also move the log backups to the Filesystem, set enable_auto_log_backup to **yes** and log_backup_using_backint to **false**.
127
127
1. Revert to the previous settings to allow backups to flow to the Azure vault:
128
128
1. Set enable_auto_log_backup to **yes**.
129
129
1. Set catalog_backup_using_backint to **true**.
130
+
1. Set log_backup_using_backint to **true**, if it's set to **false**.
130
131
131
132
> [!NOTE]
132
133
> Moving backups to the local Filesystem and switching back again to the Azure vault may cause a log chain break of the log backups in the vault. This will trigger a full backup, which once successfully completed will start backing up the logs.
133
-
134
+
135
+
- question: |
136
+
How can I manage or clean-up the HANA catalog for database with Azure Backup enabled?
137
+
answer: |
138
+
- SAP recommends the catalog retention should be determined by your business need (retention policy). The most common is _30 days_ retention.
139
+
- You can trigger clean-up/pruning of HANA catalog through HANA native clients (such as cockpit or studio) or through SQL commands.
140
+
- This clean-up task generates a catalog backup that's not moved to the Azure Backup vault (as there is no associated data backup).
141
+
- The catalog backup is therefore shown as a failure in the Cockpit/Studio. However, note that this catalog backup failure doesn't mean the catalog clean-up activity has failed.
142
+
- Note that this **catalog backup failure also doesn't affect your point-in-time recoverability**.
143
+
- The catalog clean-up activity may cause the log backups triggered at the same time to be queued. These logs are then moved to the vault after the catalog backup (triggered by catalog clean-up) fails.
144
+
- Manually check the success of the catalog clean-up activity.
145
+
134
146
- question: |
135
147
How can I use SAP HANA Backup with my HANA Replication set-up?
0 commit comments