Article ID: 82483
Article Type: Troubleshooting
Last Modified:
SAP HANA Error [hdbsql execution Faild. *447: backup could not be completed: [110122] A data backup cannot be created because another data backup is running or a storage snapshot has been prepared. SQLSTATE: HT000].
The backup job fails with the following error:
SAP HANA Error [hdbsql execution Faild. *447: backup could not be completed: [110122] A data backup cannot be created because another data backup is running or a storage snapshot has been prepared. SQLSTATE: HT000].
Contact SAP HANA database administrator to troubleshoot using the following instructions:
Firstly, try to delete the named pipes that SAP HANA uses to send data to hdbbackint. This way both SAP HANA and hdbbackint will most likely realize that the data transfer has ended, and will terminate their backup operation. To find the pipes, check the backup.log and backint.log backup files. Normally, there are two entries in the backint.log for each backup operation (start and finish). The hanging backint process will only have one entry (start) and it will show you the processID of the backint process and the related pipe. To find the directory where the pipes are created, you can query the system view M_BACKUP_CONFIGURATION, the column BACKINT_DATA_BACKUP_PATH (Data backup directory for backint) will have the required path. The backint.log file example:
command:
Input: #SOFTWAREID "backint 1.04" "HANA HDB server 4.50.000.00.0000000000" #PIPE "/usr/sap/TST/SYS/global/hdb/backint/DB_TST/log_backup_0_0_0_0"
If deleting the pipes does not resolve the issue, it can help to terminate the backint process (hdbbackint). To execute the kill command, you may need to use the root user or another superuser with the required permissions. For additional information on finding the PID responsible see the 'Resolution' section of the SAP KB 2827950 - How-To: Cancel Hanging Backup on SAP HANA. The backint.log file example:
Command:
Input: #SOFTWAREID "backint 1.04" "HANA HDB server 4.50.000.00.0000000000" #PIPE "/usr/sap/TST/SYS/global/hdb/backint/DB_TST/log_backup_0_0_0_0"
If deleting the pipes or terminating the backint process (hdbbackint) does not resolve the issue then you need to do a soft stop of the SAP HANA Database as described in Stop a Database and then restart the SAP HANA Database. For more information, See Note: https://launchpad.support.sap.com/#/notes/0002452735 (You require a SAP User id ).