The starting point of this lab is a system architecture based on 2 EC2 instances: a HANA database (r5.large instance with SUSE Linux Enterprise Server 15 with hdbadm
password Aws12345
) and a Jump Box RDP instance (t2.small instance with Windows Server 2019 and login through RDP username: Administrator
and password SAPonAWS$DSAG2019!
).
The HANA instance is deployed in a private subnet of the default Virtual Private Cloud (VPC). Therefore, the only way to access it from the public Internet is to SSH into it from the Jump Box instance, that is, instead, placed in a public subnet of the default VPC. The Jump Box comes also with an Eclipse-based version of HANA studio pre-installed. This could be used to administrate the HANA instance keeping our security best practices. Moreover, both HANA instance and Jump Box instance come with fully configured Security Groups and IAM roles and permissions to grant minimum priviledge permissions model. The architecture is fully deployed in eu-central-1 region (Frankfurt). The deployment of the full architecture has been done through a CloudFormation template.
In this first lab, the goal is to correctly set up the RDP Jump Box host (located in the public subnet of the VPC) so that you can login into the HANA host (located in the private subnet of the VPC) by using the SAP native tool HANA Studio. There are two steps so: from your laptop you connect to the Jump Box through RDP; and from the Jump Box you connect to the HANA host trough HANA Studio.
Before login to the instances, you need to set up some configuration on your HANA host as a prerequisite:
- Enable the hdbadm (adm user of HANA) to run AWS CLI commands
- Set up correctly the mapping between HANA host private IP, hostname (hanaonaws01.local) and host alias (hanaonaws01)
First, log into your HANA database server via Systems Manager Session Manager in the AWS Management Console.
Warning: Amazon EC2 has recently changed his User Interface. If you are not familiar with AWS, it's strongly recommended to use the old UI, by switching the tick button in the top-left corner of the EC2 Dashboard. If you are comfortable with AWS, you can use the new UI, taking into account the discrepancies between the instructions and the new console.
- From the AWS Management console, go to
Services
, chooseEC2
and navigate to theEC2 Dashboard
- Go to
Running instances
- Click on the checkbox to the left of the SAP HANA EC2 instance (the one of r5.large type)
- Click on the
Connect
button above - Select
Session Manager
as a Connection method - Click on the
Connect
button at the bottom of the dialog: a separate window or browser tab will open, which will give you a command prompt to do the following steps.
After you log into the HANA EC2 instance, switch to the root
user. For the root user, AWS Command Line Interface (AWS CLI) comes already installed in this deployment. For further information on how to install it, look at the AWS CLI User Guide.
- Execute the following command:
sudo su -
Now, you are prompted as hanaonaws01
user.
Give administrator access to hdbadm
user (this is to allow HANA administrator user, hdbadm
, to have OS control and to run AWS CLI commands) by adding HANA admin to the sudoers
file. The name of this user will vary based on what you put as the System ID for the HANA Database; for example, if you put “HD5”, then the user would be called instead “hd5adm”.
- Execute this command as root user (after
sudo su -
):
visudo
- Go to the end of the
sudoers
file and add the following line.
If you are not familiar with vi
and visudo
commands: scroll down to the end of the file; hit the o
key for opening a new line: at this point you should see the word INSERT
at the bottom of the screen; add the text below and hit the Enter
key; hit the ESC
key: at this point INSERT
should no longer appear at the bottom of the screen; type SHIFT
+Z
+Z
to save the file and close visudo
. Warning 1: if CTRL
+Z
- CTRL
+V
doesn't work, use the relative functions through the right click menu (Copy
+Paste
). Warning 2: if you cannot correctly save the file by holding the keys SHIFT
+Z
+Z
, in order to exit from the editor hit the following sequence of keys: :q!
+Enter
(exit without saving) or :wq!
+Enter
(exit after saving).
hdbadm ALL=(ALL) NOPASSWD: ALL
Keeping the root user (sudo su -
), create a new entry in the /etc/hosts
configuration file in order to associate the private IP address of the HANA EC2 instance to the host-name
and the relative host alias
.
- Lookup in the command line for the private IP address of the HANA EC2 instance by typing:
ifconfig
- Copy the private IP address of the instance (you can find it next to
inet
in theeth0
section). An alternative way of knowing this IP is to look at theDescription
tab of the HANA EC2 instance:AWS Management Console
>EC2 Dashboard
>Running Instances
>Select the HANA host
through the radio button next to it >Description
tab >Private IP
- In the command line, open the
/etc/hosts
file through thevi
text editor:
vi /etc/hosts
- Scroll down the content of the file until reaching the line that contains the string:
10.x.x.239 hanaonaws01.local hanaonaws01
- Press the
i
key in order to use theINSERT
mode - Comment that line by inserting a
#
character at the beginning of the line (before the first character of the line) - Add a new line after the previously commented line, by inserting the following string:
<private-IP> hanaonaws01.local hanaonaws01
The <private-IP>
parameter is the value that you copied at point 1 and you should paste at the beginning of the new line; hanaonaws01.local
is the host-name; hanaonaws01
is the alias for the host.
- Save and close the text editor (hold
SHIFT
+Z
+Z
or write:wq!
+Enter
) - Try to ping the host-name to check everything works fine:
ping hanaonaws01
If everything works, you should receive some bytes back from the ICMPv4 protocol.
- Stop the process by pressing
CTRL
+C
Your HANA host has now a correct mapping between its private IP, its host name hanaonaws01.local
and its host alias hanaonaws01
. This operation can be also done via YaST2 on SLES.
Now that prerequisites are done, you can start setting up the RDP host. First, connect to your RDP Windows Server instance by navigating to the EC2 Dashboard
in AWS Management Console and by using a pre-configured Remote Desktop File containing the Public IP address of the RDP instance.
- In the AWS Management Console, go to the
EC2 Dashboard
from theServices
panel. - Select the RDP EC2 instance (a.k.a. Jump Box);
- Click the
Connect
button at the top of the EC2 Dashboard screen - Select the option
A standalone RDP client
- Select
Download Remote Desktop File
and save it on your laptop - Once downloaded, open the file and select
Continue
. Warning: don't worry if the certificate can't be verified back to a root certificate. - Insert the User Name and Password parameters:
- User Name:
Administrator
- Password:
SAPonAWS$DSAG2019!
- User Name:
- Select
Done
and selectContinue
again - At that point, the Desktop of the RDP Jump Box instance will appear.
Now that you are logged into the RDP host, set up the HANA Studio to connect to the HANA instance. HANA Studio is provided as a plugin for the Eclipse IDE. The IDE comes pre-installed in the RDP host.
- Double click on the icon of
Eclipse Java Neon
(wait for its startup, about 1 minute at its first launch) - When opening the SAP HANA Studio for the first time, you could get a prompt to select a directory as a workspace. If it happens, please, accept the default location. Moreover, if prompted to create a password hint for the master password, select
No
. If it doesn’t happen, you should directly land to SAP HANA Administration Console. - You should land to the SAP HANA Administration Console by default. If the Java perspective is set as as the default perspective for the IDE, click on the top-right button (with a Swiss-knife icon)
SAP HANA Administration Console
to change the current perspective (view) the HANA Administration console one
- Under
Systems
, select the down-arrow icon and click onAdd System...
-
Fill in the parameters as follows:
- Host Name:
<Private IP of HANA instance>
. You can find it going to:AWS Management Console
>EC2 Dashboard
>Running Instances
>Select the HANA instance
>Description
tab >Private IP
- Instance Number:
00
- Mode:
Multiple containers
- Tenant database:
HDB
- Tenant database:
- Description:
HANA Studio for HANA host
- Locale:
English (United States)
- Folder:
/
- Host Name:
-
Select
Next
-
Insert the following parameters:
- User Name:
SYSTEM
- Password:
Aws12345
- User Name:
-
Select
Finish
You should now be able to navigate in the catalog and see all the tables and schemas of your HANA database host.
An EC2 Amazon Machine Image (AMI) can be used to create a blueprint of the currently running HANA instance and, to create additional EC2 instances starting from that. The goal of this lab is to deploy a secondary (standby) EC2 HANA server in another Availability Zone of the same Region (Frankfurt), starting from the currently running HANA virtual server. In order to keep consistency, by the way, it’s recommended for production environments (not in this lab), to stop the primary server before taking an Image from it.
Before proceeding with taking the Image from the HANA EC2 server, you need to disable HANA Autostart
first:
- After repeating the steps P.1 and P.2 of the Prerequisites of Lab 1 to be logged to HANA host through AWS Systems Manager Session Manager, login to HANA at OS level using
hdbadm
user:
su - hdbadm
- Run the command
cdpro
to go to the profile directory
cdpro
- From the profile directory (
/usr/sap/SID/SYS/profile
), open the configuration fileHDB_HDB00_hanaonaws01.local
:
vi /usr/sap/HDB/SYS/profile/HDB_HDB00_hanaonaws01.local
- Press the
i
key to go toINSERT
mode and change the value ofAutostart
parameter from1
to0
. Warning: you need to delete (withDEL
key) the default value of1
and replace it with0
:
Autostart = 0
- Press
ESC
key to exitINSERT
mode - Save and close by pressing
SHIFT
+Z
+Z
Now that you have disabled HANA Autostart
parameter, you can create the AMI from the primary HANA server in order to deploy a secondary HANA server in another Availability Zone, to start a Highly Available setup. This lab doesn’t aim to handle the failover in case of a disaster: for that, the best option is to use a clustering software (e.g. SLES HA Add-on). In this case, we only want to show how easy is to spin up a secondary HANA instance starting from the Amazon Machine Image of the primary HANA server.
- In the AWS Management Console, go to the
EC2 Dashboard
from theServices
panel. - Select the primary HANA instance
- Check the Availability Zone (AZ) tab in which it has been deployed and note it somewhere (you will choose another AZ to deploy the secondary HANA instance)
- Select
Actions
- Select
Image
- Select
Create Image
- In the AMI dialog, enter the following parameters:
- Image Name:
HANA Primary Image
- Image Description:
HANA Primary Server Image
- Leave
No reboot
checkbox unchecked. This ensure consistency for the image. - Check
Delete on Termination
for all EBS Volumes (should be checked by default) - Select
Create Image
- Image Name:
- You will get a dialog box with a clickable string that says
View pending image ami-xxxxxxx
. Click on it and you will be redirected to the AMIs section of the AWS Management Console. Alternatively, go toServices
>EC2
>AMIs
(underImages
). Observe that status of AMI ispending
, since the image is not yet created. - Wait until
Status
changes frompending
toavailable
- Click on the radio button next to the AMI
- Select
Actions
and thenLaunch
- Select the following parameters for the Secondary HANA instance and click
Next
for each step. Leave the rest of not mentioned parameters as default:- Instance Type:
r5.large
- Subnet: select a subnet corresponding to an Availability Zone that is different from the one of the Primary HANA instance
- Auto-assign Public IP:
Enable
- IAM role: if available in the list, choose
mod-xxx-InstanceProfile-xxx
orAmazonSSMRoleForInstancesQuickSetup
. If not, leave it blank - In
Add Storage
section, leave everything as it is - In
Add Tags
section, selectAdd Tag
and writeName
as aKey
andHANA Secondary
as aValue
- In Configure Security Group section, leave everything as it is (default inbound rule for port 22 for SSH connections) and optionally change the security group name to
hana-secondary-sg
- Select
Review and Launch
- Select
Launch
- Select
Create a new key pair
choosing a simple key pair name (e.g.sechana
) and clickDownload Key Pair
: a .pem file (the key) will be downloaded on your laptop - Select
Launch Instances
- Instance Type:
- Wait for the secondary HANA instance to be successfully deployed (you can check it in the
EC2 Dashboard
) and untilStatus Checks
are 100% completed andAlarm Status
showsOK
- Once ready, connect to the secondary HANA instance by using Systems Manager Session Manager if the IAM role set for the instance is
mod-xxx-InstanceProfile-xxx
orAmazonSSMRoleForInstancesQuickSetup
. If this IAM role has not been set, use the downloaded Key Pair to SSH into the instance:- Select the radio button next to the instance
- Select Connect and the option A standalone SSH client
- Open a new Linux Shell on your laptop and execute the 2 commands suggested in the Connect dialog from the directory where the .pem file is stored (as an alternative, PuTTY can be used as well):
chmod 400 <keyname>.pem
ssh -i "<keyname>.pem" [email protected]
Fill in the <keyname>
and the X
s with the name of the .pem file and the public IP address of your secondary HANA instance respectively.
- Make sure that HANA system is started by verifying all the processes listed as an output of the command
sapcontrol
are listed asgreen
sudo su -
su - hdbadm
Password: Aws12345
sapcontrol -nr 00 -function GetProcessList
- If not, launch the following command:
sapcontrol -nr 00 -function Start
All the HANA processes will be launched after that command terminates his execution. After a minute approximately, all the processes should move to green
status. You can check it by using the GetProcessList
command again. In that case, the secondary HANA server would be up and running.
In this lab you will establish a backup schedule for your SAP HANA instance using two different approaches: a script launched via the command line and by using the AWS Backint Agent for backups.
- Task 3.1: Set up backups for SAP HANA host
- [Optional] Task 3.2: Backup to S3 via AWS SAP BACKINT
By using this method, a series of backups are executed for your HANA host such that at first, data from the EBS volumes attached to the HANA instance is copied to an EBS staging volume. As a second step, data in the staging EBS volume is copied to Amazon S3. The operations are scheduled by a Linux Shell script.
First, log into your primary HANA database server via Systems Manager Session Manager in the AWS Management Console.
- From the AWS Management console, navigate to the
EC2 Dashboard
- Go to
Running instances
- Click on the checkbox to the left of the SAP HANA EC2 instance (the primary one, not the secondary created in the previous lab)
- Click on the
Connect
button above - Select
Session Manager
as a Connection method - Click on the
Connect
button at the bottom of the dialog: a separate window or browser tab will open, which will give you a command prompt to do the following steps.
After you log into the HANA EC2 instance, switch to the root user. For the root user, AWS Command Line Interface (AWS CLI) comes already installed in this deployment. For further information on how to install it, look at the AWS CLI User Guide.
- Execute the following command:
sudo su -
Since in lab 2 you created an AMI from the primary HANA instance, at the time of creation, you needed to reboot the primary instance. Therefore, it is necessary to start again the processes of the HANA system at OS level. In order to do so, launch the following command as an hdbadm
user:
su - hdbadm
Password: Aws123
sapcontrol -nr 00 -function Start
Wait for a minute since the processes are in GREEN status. You can check it through the command:
sapcontrol -nr 00 -function GetProcessList
Create two Amazon S3 buckets for storing the backups of the HANA database. The first S3 bucket will be used to store SAP HANA backups done via Shell script; the second S3 bucket will be used to store SAP HANA backups done via AWS Backint Agent for SAP HANA.
It is possible to create an Amazon S3 bucket both via AWS Command Line Interface (AWS CLI) and manually, via AWS Management Console.
AWS CLI
If you want to create the bucket via AWS CLI, once logged into the HANA instance (sudo su -
), write the following AWS CLI statement to create a new S3 bucket. Note: please, use eu-central-1
as Region parameter, as all the infrastructure is hosted in Frankfurt region. Please, also use only lowercase (and URL compliant) characters for the S3 bucket names.
aws s3 mb s3://hana-backup-<name initial + surname initial>-<last 2 digits of birth year> \
--region <aws region you are using>
Repeat the steps above for creating a second bucket, adding the prefix -backint
to the bucket name. This second bucket is going to be used for setting up backups of the HANA host via AWS Backint Agent.
In the case of Jeff Bezos, for example, the bucket names would be respectively: hana-backup-jb-64
and hana-backup-jb-64-backint
.
AWS Management Console
As an alternative to the AWS CLI, you can create the S3 bucket manually by going to Services
> S3
from the AWS Management Console and by following these steps:
- Select
Create bucket
- Enter the following Bucket name:
hana-backup-<name initial + surname initial>-<last 2 digits of birth year>
- Select the Region:
EU (Frankfurt)
- Select
Create bucket
Repeat the steps above for creating a second bucket, adding the prefix -backint
to the bucket name. This second bucket is going to be used for setting up backups of the HANA host via AWS Backint Agent.
In the case of Jeff Bezos, for example, the bucket names would be respectively: hana-backup-jb-64
and hana-backup-jb-64-backint
.
As HANA administrator user (su - hdbadm
), create a key called BACKUP for the SYSTEM
user of the HANA database, using the password that has been provided in the CloudFormation template used to deploy the HANA instance (Aws12345
).
su - hdbadm
Password: Aws12345
hdbuserstore SET BACKUP "localhost:30015" SYSTEM Aws12345
hdbuserstore list
In this case the HANA port number is 30015
, since the HANA instance number chosen by the CloudFormation template is 00
. In general, the port is 3<HANA_ID>15
for single tenant databases. The port is 3<HANA_ID>13 for multi-tenant databases.
Create and execute a Linux Shell script for executing the HANA database backup. The script aims to perform the following operations:
- Use
hdbsql
(an SQL-based statement) to trigger a database backup to the backup staging EBS volume - Copy the database backup
data
directories from the backup staging EBS volume to an S3 bucket - Copy the database backup
log
directories from the backup staging EBS volume to an S3 bucket
Follow the tasks described above:
- Create and open a new file in the default working directory of the HANA administrator user (
/usr/sap/HDB/HDB00/
) by usingvi
text editor, and call ithana_backup.sh
vi /usr/sap/HDB/HDB00/hana_backup.sh
- Copy and paste in the script file the following lines:
#!/bin/sh
#set -x
S3Bucket_Name=<YOUR-S3-BUCKET>
TIMESTAMP=$(date +\%F\_%H\%M)
#exec 1>/backup/data/${SAPSYSTEMNAME}/${TIMESTAMP}_backup_log.out 2>&1
echo "Starting to take backup of Hana Database and Upload the backup files to S3"
echo "Backup Timestamp for $SAPSYSTEMNAME is $TIMESTAMP"
BACKUP_PREFIX=${SAPSYSTEMNAME}_${TIMESTAMP}
echo $BACKUP_PREFIX
#source HANA environmentsource
$DIR_INSTANCE/hdbenv.sh
hdbsql -U BACKUP "backup data using file ('$BACKUP_PREFIX')"
echo "HANA Backup is completed"
echo "Continue with copying the backup files in to S3"
echo $BACKUP_PREFIX
sudo -u root /usr/local/bin/aws s3 sync /backup/data/${SAPSYSTEMNAME}/ s3://${S3Bucket_Name}/bkps/${SAPSYSTEMNAME}/data/ --include "${BACKUP_PREFIX}*" --exclude "*20191013_COMPLETE_DATA_BACKUP*"
echo "Copying HANA Database log files in to S3"
sudo -u root /usr/local/bin/aws s3 sync /backup/log/${SAPSYSTEMNAME}/ s3://${S3Bucket_Name}/bkps/${SAPSYSTEMNAME}/log/ --include "log_backup*" --exclude "*20191013_COMPLETE_DATA_BACKUP*"
-
Edit
<YOUR-S3-BUCKET>
at line 2 by inserting the name of the first S3 bucket you’ve created at step 3.1.4 (hana-backup-<name-initial+surname-initial>-<last-2-digits-of-birth-year
). To edit files using vi or visudo, refer to step -
Save and close the file by pressing
ESC
and thenSHIFT
+Z
+Z
-
Update the script permissions by writing the following line to provide read and execute access to the script for everyone:
chmod 755 /usr/sap/HDB/HDB00/hana_backup.sh
- Execute the script by typing:
/usr/sap/HDB/HDB00/hana_backup.sh
- Check the backups in the S3 bucket (
hana-backup-<name initial + surname initial>-<last 2 digits of birth year>
): you should find a folder calledbkps
, that contains another folder calledHDB
(instance name). In this last folder you can find bothdata
backups folder andlogs
backups folder. In the log folder you should find bothHDB_DB
tenant logs andSYSTEMDB
logs.
AWS Backint Agent for SAP HANA (AWS Backint Agent) is an SAP-certified backup and restore application for SAP HANA workloads running on Amazon EC2 instances in the cloud. Backint Agent can back up (in full, incremental, and differential mode) your SAP HANA database to Amazon S3 and to restore it using SAP HANA Cockpit, SAP HANA Studio, and SQL statements. The difference between using Backint and using a Linux Shell script, is that in this last case you don’t need an EBS staging volume to store backup data: data is directly copied from your HANA EBS volumes to Amazon S3.
Install the AWS Backint Agent for SAP HANA on the HANA host by using an AWS Systems Manager document. Note: It is possible to install the AWS Backint Agent also by using AWS Backint installer. For further details on how to install the agent with AWS Backint installer and on how to configure the agent, view logs, and get the current agent version, please visit the SAP on AWS Technical Documentation > SAP HANA Guides.
-
From the AWS Management Console, choose
Systems Manager
under Management & Governance, or enterSystems Manager
in theFind Services
search bar -
From the
Systems Manager
console, chooseDocuments
underShared Resources
in the left navigation pane -
On the
Documents
page, select theOwned by Amazon
tab. You should look for a document namedAWSSAP-InstallBackint
through the search bar. -
In the searchbar, search for
AWSSAP-InstallBackint
and hitEnter
. Once the document appears, click on its title and then chooseRun Command
-
Under the Command parameters, enter the following parameters:
- Choose the
Default
document version. Bucket Name
: enter the name of the Amazon S3 bucket where you want to store your SAP HANA backup files (hana-backup-<name initial + surname initial>-<last 2 digits of birth year>-backint
).Bucket Folder
: optionally, enter the name of the folder within your Amazon S3 bucket where you want to store your SAP HANA backup files. Leave this blank in this case.System ID
: enter your SAP HANA System ID (HDB
in this case).AWS Region
: enter the AWS Region of the Amazon S3 bucket where you want to store your SAP HANA backup files (in this case, the same as the rest of the architecture:eu-central-1
, that is Frankfurt). AWS Backint Agent supports cross-Region and cross-account backups. You must provide the AWS Region and Amazon S3 bucket owner account ID along with the Amazon S3 bucket name for the agent to perform successfully.Bucket Owner Account ID
: enter the account ID of the Amazon S3 bucket where you want to store your SAP HANA backup files. You can find it by clicking on your name in the top right corner of the AWS Management Console and reading under Account. Don’t forget to delete hyphens in the account number after pasting it to the field of the form.- Leave blank the
KMS Key
parameter: you are not going to encrypt backups. - Use
/hana/shared
asInstallation Directory
. Modify Global ini file
: choosemodify
to modify the global.ini file.Ensure No Backup In Process
: chooseYes
to confirm that you have disabled existing backups and are ready to proceed with the installation. The SSM document will fail if you choose “No”.
- Choose the
-
Under
Targets
, selectChoose intances manually
, and then choose the HANA instance on which to install it from the list. If you are not able to find your instance in the list, verify that you have followed all of the steps in the prerequisites. -
Under
Other parameters
, leave the field empty. -
Leave the rest of the options as default.
-
Choose
Run
. -
When the agent is successfully installed, you will see the
Success
status under theCommand ID
.
Now that the AWS Backint Agent for SAP HANA is installed on the host, you can proceed with the backup by using SQL statements via hdbsql
command. Before executing the backup, you are going to create an entry to the HANA database, in order to back up the new content.
-
First, log into your HANA database server via Systems Manager Session Manager in the AWS Management Console:
- From the AWS Management console, navigate to the
EC2 Dashboard
- Go to
Running instances
- Click on the checkbox to the left of the SAP HANA EC2 instance
- Click on the
Connect
button above - Select
Session Manager
as a Connection method - Click on the
Connect
button at the bottom of the dialog: a separate window or browser tab will open, which will give you a command prompt to do the following steps.
- From the AWS Management console, navigate to the
-
Login as HANA administrator for the
HDB
database:
su - hdbadm
Password: Aws12345
- Create an entry in the HANA
hdbuserstore
to connect toSYSTEMDB
with the userSYSTEM
. Use the commandhdbuserstore -i set SYSTEM <hostname>:3NN13@SYSTEMDB SYSTEM <Password>
to perform this task. Note that you can get the hostname of your HANA instance through thehostname
command (should behanaonaws01
). Use the port30013
, since the HANA instance number in this case is 00. UseAws12345
as a password.
hostname
hdbuserstore -i set SYSTEM hanaonaws01:30013@SYSTEMDB SYSTEM Aws12345
- Launch
hdbsql
command to execute SQL statements against the database and list the latest 10 backups of the backup catalog (some old backups could appear):
hdbsql -U SYSTEM
select top 50 * from m_backup_catalog order by SYS_START_TIME DESC
- Execute a full backup of the system database by using the following SQL statement:
BACKUP DATA USING BACKINT ('/usr/sap/HDB/SYS/global/hdb/backint/SYSTEMDB/')
The backup process can take quite a bit of time (minimum 30m) with the default settings of the AWS Backint Agent. It is possible to fine tune the agent in order to get better performances to speed-up the backup process by increasing the size of the data_backup_buffer_size
and the number of parallel_data_backup_backint_channels
. More information can be found in the AWS SAP HANA Guide.
- Check the backups creation in the destination Amazon S3 bucket via AWS Management Console
- While performing the backup, you can move to the following task by opening a new connection with the HANA instance by AWS Systems Manager Session Manager (as done at the beginning of this step)
- [Optional] At finished backup, you can list again the backups through the previous SQL statement in hdbsql:
select top 50 * from m_backup_catalog order by SYS_START_TIME DESC
In this case, the new backup files will be listed as an output.