Cisco Cisco UCS C22 M3 Rack Server Libro blanco
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 35 of 53
12. As a good practice, you should match the external backup ID with the snapshot name on the MapR
Converged Data Platform.
The storage snapshot is now created.
Command-Line Process
Use these steps to create a snapshot from the command line:
1. Create a snapshot in SAP HANA:
echo "BACKUP DATA CREATE SNAPSHOT COMMENT '<snap_id>'" |
/usr/sap/<SID>/HDB<instance_no>/exe/hdbsql -i <instance_no> -n <hostname> -u
system -p <password>
/usr/sap/<SID>/HDB<instance_no>/exe/hdbsql -i <instance_no> -n <hostname> -u
system -p <password>
2. Create a snapshot on MapR for every data volume:
maprcli volume snapshot create -volume <datavolume_no> -snapshotname <snap_id>
3. Fetch the backup ID of the running snapshot in SAP HANA:
echo "select BACKUP_ID from M_BACKUP_CATALOG where COMMENT = '<snap_id>'" |
/usr/sap/<SID>/HDB<instance_no>/exe/hdbsql -i <instance_no> -n <hostname> -u
system -p <password>
/usr/sap/<SID>/HDB<instance_no>/exe/hdbsql -i <instance_no> -n <hostname> -u
system -p <password>