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-ase-database-about.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ With Cross-Subscription Restore (CSR), you can restore SAP ASE databases to any
93
93
>- Cross-Subscription Restore can be initiated directly from the Recovery Services vault.
94
94
>- Cross Regional Restore (CRR) with CSR isn't supported.
95
95
96
-
Learn how to [trigger Cross Subscription Restore to a Private Endpoint enabled vault](sap-ase-database-restore.md#restore-to-a-private-endpoint-enabled-vault-in-a-different-subscription).
96
+
Learn how to [trigger Cross Subscription Restore to a private endpoint enabled vault](sap-ase-database-restore.md#restore-to-a-private-endpoint-enabled-vault-in-a-different-subscription).
Copy file name to clipboardExpand all lines: articles/backup/sap-ase-database-backup-run-preregistration-quickstart.md
+24-26Lines changed: 24 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,9 @@ ms.author: jsuri
12
12
13
13
# Quickstart: Run the preregistration script for SAP ASE (Sybase) database backup in Azure Cloud Shell
14
14
15
-
This quickstart describes how to run the preregistration script to prepare an SAP Adaptive Server Enterprise (ASE) (Sybase) database configuration for backup on Azure VMs using Azure Backup.
15
+
This quickstart describes how to run the preregistration script to prepare an SAP Adaptive Server Enterprise (ASE) (Sybase) database configuration for backup on Azure VMs using Azure Cloud Shell.
16
16
17
-
The preregistration script for SAP ASE database backup using Azure Backup ensures the system is properly configured by setting up authentication, validating network connectivity, and installing necessary packages. It also supports private endpoints and prepares the database for seamless backup operations.
17
+
The preregistration script for SAP ASE database backup using Azure Backup ensures the system is properly configured, which includes authentication configuration, network connectivity validation, and necessary packages installation. It also supports private endpoints and prepares the database for seamless backup operations.
18
18
19
19
Learn about the [supported configurations and scenarios for SAP ASE database backup](sap-ase-backup-support-matrix.md) on Azure VMs.
20
20
@@ -31,37 +31,35 @@ Before you run the preregistration script, ensure that the following prerequisit
31
31
32
32
The preregistration script is a Python script that you run on the VM where the SAP ASE database is installed. The script performs the following tasks:
33
33
34
-
1. Creates the necessary group where the **plugin users** are added.
35
-
2. Installs and updates required packages such as waagent, Python, curl, unzip, Libicu, and PythonXML.
36
-
3. Verifies the status of waagent, checks `wireserver` and `IMDS connectivity`, and tests **TCP connectivity** to Microsoft Entra ID.
37
-
4. Confirms if the geographic region is supported.
38
-
5. Checks for available free space for logs, in the `waagent` directory, and `/opt` directory.
39
-
6. Validates if the Adaptive Server Enterprise (ASE) version is supported.
40
-
7. Logs in the SAP instance using the provided username and password, enabling dump history, which is necessary for backup and restore operations.
41
-
8. Ensures that the OS version is supported.
42
-
9. Installs and updates required Python modules such as requests and cryptography.
43
-
10. Creates the workload configuration file.
44
-
11. Sets up the required directories under `/opt` for backup operations.
45
-
12. Encrypts the password and securely stores it in the virtual machine.
34
+
- Creates the necessary group where the **plugin users** are added.
35
+
- Installs and updates required packages such as waagent, Python, curl, unzip, Libicu, and PythonXML.
36
+
- Verifies the status of waagent, checks `wireserver` and `IMDS connectivity`, and tests **TCP connectivity** to Microsoft Entra ID.
37
+
- Confirms if the geographic region is supported.
38
+
- Checks for available free space for logs, in the `waagent` directory, and `/opt` directory.
39
+
- Validates if the Adaptive Server Enterprise (ASE) version is supported.
40
+
- Logs in the SAP instance using the provided username and password, enabling dump history, which is necessary for backup and restore operations.
41
+
- Ensures that the OS version is supported.
42
+
- Installs and updates required Python modules such as requests and cryptography.
43
+
- Creates the workload configuration file.
44
+
- Sets up the required directories under `/opt` for backup operations.
45
+
- Encrypts the password and securely stores it in the virtual machine.
46
46
47
47
## Run the preregistration script
48
48
49
-
To execute the preregistration script for SAP ASE database backup, run the following bash commands:
50
-
51
-
1.[Download the ASE Preregistration Script file](https://aka.ms/preregscriptsapase).
52
-
2. Copy the file to the virtual machine (VM).
49
+
Before you execute the preregistration script, [download the ASE preregistration script file](https://aka.ms/preregscriptsapase) and copy it to the virtual machine (VM).
53
50
54
-
55
-
>[!NOTE]
56
-
>Replace `<script name>` in the following commands with the name of the script file you downloaded and copied to the VM.
51
+
>[!NOTE]
52
+
>Replace `<script name>` in the following commands with the name of the script file you downloaded and copied to the VM.
57
53
58
-
3. Convert the script to the Unix format.
54
+
To execute the preregistration script for SAP ASE database backup, run the following bash commands:
55
+
56
+
1. Convert the script to the Unix format.
59
57
60
58
```bash
61
59
dos2unix <script name>
62
60
```
63
61
64
-
4. Change the permission of the script file.
62
+
1. Change the permission of the script file.
65
63
66
64
>[!Note]
67
65
>Before you run the following command, replace `/path/to/script/file` with the actual path of the script file in the VM.
@@ -70,13 +68,13 @@ To execute the preregistration script for SAP ASE database backup, run the follo
70
68
sudo chmod -R 777 /path/to/script/file
71
69
```
72
70
73
-
5. Update the script name.
71
+
1. Update the script name.
74
72
75
73
```bash
76
74
sudo ./<script name> -us
77
75
```
78
76
79
-
6. Run the script.
77
+
1. Run the script.
80
78
81
79
>[!Note]
82
80
>Before running the following command, provide the required values for the placeholders.
@@ -99,7 +97,7 @@ To execute the preregistration script for SAP ASE database backup, run the follo
99
97
>[!NOTE]
100
98
>To find the `<private-ip-of-vm>`, open the VM in the Azure portal and check the private IP under the **Networking** section.
Copy file name to clipboardExpand all lines: articles/backup/sap-ase-database-backup-tutorial.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Before you set up the SAP ASE database for backup, review the following prerequi
22
22
- Identify or create a Recovery Services vault in the same region and subscription as the VM running SAP ASE.
23
23
- Allow connectivity from the VM to the internet, so that it can reach Azure.
24
24
- The combined length of the SAP ASE Server VM name and the Resource Group name must have **<= 84** characters for Azure Resource Manager (ARM) VMs (and 77 characters for classic VMs) as the service reserves some characters.
25
-
- VM must have python **>= 3.6.15** (recommended- Python3.10) with requests module installed. The default sudo python3 must run python 3.6.15 or higher. Validate by running python3 and **sudo python3** in your system to check the python version it runs by default. To change the default version, link python3 to python 3.6.15 or higher.
25
+
- VM must have python **>= 3.6.15** (recommended- Python3.10) with requests module installed. The default sudo python3 must run python 3.6.15 or higher. Validate by running python3 and **sudo python3** in your system to check the python version. To change the default version, link python3 to python 3.6.15 or higher.
26
26
-[Run the SAP ASE backup configuration script (preregistration script)](sap-ase-database-backup-run-preregistration-quickstart.md) in the virtual machine that hosts the SAP ASE database. This script gets the ASE system ready for backup.
27
27
- Assign the following privileges and settings for the backup operation:
28
28
@@ -154,9 +154,9 @@ To create a custom role for Azure Backup, run the following bash commands:
154
154
## Establish network connectivity
155
155
156
156
For all operations, an SAP ASE database running on an Azure VM requires connectivity to the Azure Backup service, Azure Storage, and Microsoft Entra ID. You can achieve this connectivity by using private endpoints or by allowing access to the required public IP addresses or Fully Qualified Domain Names
157
-
(FQDNs). Not allowing proper connectivity to the required Azure servicesmight lead to failure in operations like database discovery, configuring backup, performing backups, and restoring data.
157
+
(FQDNs). If you don't allow proper connectivity to the required Azure services, it might lead to failure in operations, such as database discovery, configuring backup, performing backups, and restoring data.
158
158
159
-
The following table lists the various alternatives you can use for establishing connectivity:
159
+
The following table lists the various alternatives you can use to establish connectivity:
160
160
161
161
| Option | Advantages | Disadvantages |
162
162
| --- | --- | --- |
@@ -179,7 +179,7 @@ Private endpoints allow you to connect securely from servers in a virtual networ
179
179
180
180
### Network Security Group tags
181
181
182
-
If you use Network Security Groups (NSG), use the AzureBackup service tag to allow outbound access to Azure Backup. In addition to the Azure Backup tag, you also need to allow connectivity for authentication and data transfer by creating similar [NSG rules](/azure/virtual-network/network-security-groups-overview#service-tags) for Microsoft Entra ID and Azure Storage (Storage).
182
+
If you use Network Security Groups (NSG), use the AzureBackup service tag to allow outbound access to Azure Backup. In addition to the Azure Backup tag, you must allow connectivity for authentication and data transfer by creating similar [NSG rules](/azure/virtual-network/network-security-groups-overview#service-tags) for Microsoft Entra ID and Azure Storage (Storage).
183
183
184
184
To create a rule for the Azure Backup tag, follow these steps:
185
185
@@ -246,7 +246,7 @@ To use an HTTP proxy server to route traffic for Microsoft Entra ID, follow thes
246
246
247
247
#### Use outbound rules
248
248
249
-
If the **Firewall** or **NSG** setting block the `management.azure.com` domain from Azure Virtual Machine, snapshot backups fails.
249
+
If the **Firewall** or **NSG** setting block the `management.azure.com` domain from Azure Virtual Machine, snapshot backups fail.
250
250
251
251
Create the following outbound rule and allow the domain name to back up the database. Learn [how to create the outbound rules](/azure/machine-learning/how-to-access-azureml-behind-firewall).
252
252
@@ -264,7 +264,7 @@ In the Recovery Services vault, you can enable [Cross Region Restore](backup-azu
264
264
265
265
:::image type="content" source="./media/sap-ase-database-backup/enable-cross-region-restore.png" alt-text="Screenshot shows how to enable Cross Region Restore in the Recovery Services vault. " lightbox="./media/sap-ase-database-backup/enable-cross-region-restore.png":::
266
266
267
-
## Discover the databases
267
+
## Discover the SAP ASE databases
268
268
269
269
To discover the SAP ASE databases, follow these steps:
270
270
@@ -366,7 +366,7 @@ To configure the backup operation for the SAP ASE database, follow these steps:
366
366
367
367
>[!Note]
368
368
>- Log backups only begin to flow after a successful full backup is completed.
369
-
>- Each log backup is chained to the previous full backup to form a recovery chain. This full backup is retained until the retention of the last log backup has expired. This might mean that the full backup is retained for an extra period to make sure all the logs can be recovered. Let's assume a user has a weekly full backup, daily differential and 2-hour logs. All of them are retained for 30 days. But, the weekly full can be really cleaned up/deleted only after the next full backup is available, that is, after 30 + 7 days. For example, a weekly full backup happens on Nov 16th. According to the retention policy, it should be retained until Dec 16th. The last log backup for this full happens before the next scheduled full, on Nov 22nd. Until this log is available until Dec 22nd, the Nov 16th full can't be deleted. So, the Nov 16th full is retained until Dec 22nd.
369
+
>- Each log backup is chained to the previous full backup to form a recovery chain. This full backup is retained until the retention of the last log backup has expired. This might mean that the full backup is retained for an extra period to make sure all the logs can be recovered. Let's assume a user has a weekly full backup, daily differential and 2-hour logs. All of them are retained for 30 days. But the weekly full can be really cleaned up/deleted only after the next full backup is available, that is, after 30 + 7 days. For example, a weekly full backup happens on Nov 16th. According to the retention policy, it should be retained until Dec 16th. The last log backup for this full happens before the next scheduled full, on Nov 22nd. Until this log is available until Dec 22nd, the Nov 16th full can't be deleted. So, the Nov 16th full is retained until Dec 22nd.
370
370
371
371
1. Select **OK** to save the log backup policy configuration.
372
372
1. On the **Create Policy** pane, select **OK** to complete the backup policy creation.
Copy file name to clipboardExpand all lines: articles/backup/sap-ase-database-backup.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Before you set up the SAP ASE database for backup, review the following prerequi
22
22
- Identify or create a Recovery Services vault in the same region and subscription as the VM running SAP ASE.
23
23
- Allow connectivity from the VM to the internet, so that it can reach Azure.
24
24
- The combined length of the SAP ASE Server VM name and the Resource Group name must have **<= 84** characters for Azure Resource Manager (ARM) VMs (and 77 characters for classic VMs) as the service reserves some characters.
25
-
- VM must have python **>= 3.6.15** (recommended- Python3.10) with requests module installed. The default sudo python3 must run python 3.6.15 or higher. Validate by running python3 and **sudo python3** in your system to check the python version it runs by default. To change the default version, link python3 to python 3.6.15 or higher.
25
+
- VM must have python **>= 3.6.15** (recommended- Python3.10) with requests module installed. The default sudo python3 must run python 3.6.15 or higher. Validate by running python3 and **sudo python3** in your system to check the python version. To change the default version, link python3 to python 3.6.15 or higher.
26
26
-[Run the SAP ASE backup configuration script (preregistration script)](sap-ase-database-backup-run-preregistration-quickstart.md) in the virtual machine that hosts the SAP ASE database. This script gets the ASE system ready for backup.
27
27
- Assign the following privileges and settings for the backup operation:
28
28
@@ -47,7 +47,7 @@ Before you set up the SAP ASE database for backup, review the following prerequi
47
47
- Use an existing Recovery Services vault, or [create a new one](backup-create-recovery-services-vault.md#create-a-recovery-services-vault).
48
48
-[Enable Cross Region Restore](sap-ase-database-backup-tutorial.md#enable-cross-region-restore) for Recovery Services vault.
49
49
50
-
## Discover the databases
50
+
## Discover the SAP ASE databases
51
51
52
52
To discover the SAP ASE databases, follow these steps:
Copy file name to clipboardExpand all lines: articles/backup/sap-ase-database-restore.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,15 +158,15 @@ The secondary region restore user experience is similar to the primary region re
158
158
Learn about the [minimum role requirements for cross-region restore](/azure/backup/backup-rbac-rs-vault#minimum-role-requirements-for-azure-workload-backups-sql-and-hana-db-backups).
159
159
160
160
161
-
## Restore to a Private Endpoint enabled vault in a different subscription
161
+
## Restore to a private endpoint enabled vault in a different subscription
162
162
163
163
Before you do Cross Subscription Restore (CSR), ensure that the Recovery Services vault has the necessary [Azure role-based access control (Azure RBAC) permissions](backup-rbac-rs-vault.md#minimum-role-requirements-for-sap-ase-sybase-database--cross-subscription-restore).
164
164
165
-
To trigger Cross Subscription Restore to a Private Endpoint enabled vault, follow these steps:
165
+
To trigger Cross Subscription Restore to a private endpoint enabled vault, follow these steps:
166
166
167
-
1. In the Azure portal, go to the source**Recovery Services vault** , and then [create Private Endpoints](private-endpoints.md#create-private-endpoints-for-azure-backup).
167
+
1. In the [Azure portal](https://portal.azure.com/), go to the source**Recovery Services vault** , and then [create Private Endpoints](private-endpoints.md#create-private-endpoints-for-azure-backup).
168
168
169
-
During Private Endpoint creation, ensure that you enter the following details:
169
+
During private endpoint creation, ensure that you enter the following details:
170
170
171
171
- Select the subscription of the target vault in which you want to restore.
172
172
- Select the VNet of the target VM that you want to restore across subscription.
0 commit comments