Skip to content

Commit d89a013

Browse files
authored
Merge pull request #187840 from v-amallick/Feb-8-2022-HANA
HANA - Documentation updates
2 parents e47df38 + ac2576c commit d89a013

File tree

2 files changed

+19
-41
lines changed

2 files changed

+19
-41
lines changed

articles/backup/sap-hana-db-manage.md

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Manage backed up SAP HANA databases on Azure VMs
33
description: In this article, learn common tasks for managing and monitoring SAP HANA databases that are running on Azure virtual machines.
44
ms.topic: conceptual
5-
ms.date: 11/02/2021
5+
ms.date: 02/09/2022
66
author: v-amallick
77
ms.service: backup
88
ms.author: v-amallick
@@ -88,41 +88,7 @@ Restores triggered from HANA native clients to restore to another machine are no
8888
#### Delete
8989

9090
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+
.
12692
### Change policy
12793

12894
You can change the underlying policy for an SAP HANA backup item.

articles/backup/sap-hana-faq-backup-azure-vm.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
description: This article provides answers to common questions about backing up SAP HANA databases using the Azure Backup service.
55
ms.topic: article
66
ms.service: backup
7-
ms.date: 02/02/2022
7+
ms.date: 02/08/2022
88
author: v-amallick
99
ms.author: v-amallick
1010

@@ -115,22 +115,34 @@ sections:
115115
Currently we don't have the capability to set up the solution against a virtual IP or Proxy. We need a virtual machine to execute the solution.
116116
117117
- question: |
118-
How can I move an on-demand backup to the local file system instead of the Azure vault?
118+
How can I move on-demand backups (triggered from HANA native clients) to the local file system instead of the Azure vault?
119119
answer: |
120120
1. Wait for the currently running backup to complete on the desired database (check from studio for completion).
121-
1. Disable log backups and set the catalog backup to **Filesystem** for the desired DB using the following steps:
121+
1. Disable log backups and set the catalog backup to **Filesystem** for the desired database using the following steps:
122122
1. Double-click **SYSTEMDB** -> **configuration** -> **Select Database** -> **Filter (log)**
123123
1. Set enable_auto_log_backup to **no**.
124124
1. Set catalog_backup_using_backint to **false**.
125125
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**.
127127
1. Revert to the previous settings to allow backups to flow to the Azure vault:
128128
1. Set enable_auto_log_backup to **yes**.
129129
1. Set catalog_backup_using_backint to **true**.
130+
1. Set log_backup_using_backint to **true**, if it's set to **false**.
130131
131132
> [!NOTE]
132133
> 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+
134146
- question: |
135147
How can I use SAP HANA Backup with my HANA Replication set-up?
136148
answer: |

0 commit comments

Comments
 (0)