1. Use SAP HANA Studio to create a database backup.
For a full description of the procedure and the SAP HANA backup options, refer to SAP HANA Database - Backup and Recovery Guide on SAP Help Portal.
a) In SAP HANA Studio, right-click the database system that is to be copied and choose "Backup...".
b) If possible, select "Complete Data Backup" as the Backup Type and "FILE" as the Device Type. Under Location, enter a directory in which the backup files are to be stored and enter a prefix for the backup files under Backup File Prefix.Ensure that the backup directory contains sufficient free space for the backup and that no backup that has the same prefix already exists there. Then choose "Next".
c) Check your entries and choose "Finish" to start the backup or choose "Back" to correct your entries.
d) Wait until the backup has been created and then close the dialog box.
2. Transfer the backup to the target system.
a) Copy all backup files to the standard backup directory of the target system. The backup files are saved in the standard backup directory of the source system and begin with the prefix entered in step 1. The standard backup directory is defined in the database parameter global.ini -> persistence -> basepath_databackup.
3. Use SWPM to import the backup.
a) Start SWPM.
b) Choose <Your Product> -> <Your Database> -> System Copy -> Target System -> <System Variant> -> Based on <Technical Stack> -> Standard System.
c) Follow the dialogs.
d) In the dialog SAP System Database, choose Homogeneous System Copy (SAP HANA-specific Backup/Recovery).
e) In the dialog Database Recovery, enter the name (prefix) of the backup. In addition, you can specify whether you want the system to check whether the backup exists. If this check is deactivated and the backup does not exist, the installation will terminate with an error at a later time. You also have to specify the password of the <SID>adm user of the database and the SAPControl URL. The system prefills the SAPControl URL; it usually does not have to be changed.
a) After you complete the following dialogs, you can start the installation.
5. Additional adjustments after the installation
a) Check the secondary database connections.
After you copy the database, the target system has the same database connections (for example, for the DBA Cockpit) as the source system; this may cause problems. Therefore, you must check the database connections in transaction DBCO and adjust them if required.
b) Check the RFC connections.
After you copy the database, the target system has the same RFC connections as the source system; this may cause problems. Therefore, you must check the RFC connections in transaction SM59 and adjust them if required.
c) Check the spool configuration.
After you copy the database, the target system has the same spool configuration as the source system. Therefore, you must check the spool configuration in transaction SPAD and adjust it if required.
6. The system copy is now complete.
Tags: SAP HANA System copy procedure, HANA system copy, Homogeneous system copy on SAP HANA,