Execute the following on any database in the instance:
SELECT VALUE FROM M_INIFILE_CONTENTS WHERE FILE_NAME = 'global.ini' AND SECTION = 'multidb' AND KEY = 'mode'
The result will return a field "VALUE" which, if it contains the value "multidb", then the database is an MDC database and the System Database must be connected to in order to create a storage snapshot. In the event of the value being "singledb" then this is a single container system.
All databases from SAP HANA 2.0 are installed as MDC. Even an instance with a single tenant is still set up for MDC.
Step 1a. If the Database is an MDC Database, Connect to the System Database
To connect to the System Database, only the port number needs to be changed. In this case, the port to connect on for instance 00 would change from 30015 (default tenant port) to 30013. In the event of the system running in “singledb” mode, continue to use the original connection string.
To see all of the ports each database is listening on in an instance, execute the following in the System database:
SELECT HOST, DATABASE_NAME, SQL_PORT
FROM SYS_DATABASES.M_SERVICES