We are new to Hana DB and starting to build a Hana DB connector for our existing application for an existing customer adopting SAP B1 with a Hana DB. Our application just needs to make connections to the Hana DB and perform some basic SQL SELECT queries. We want to reconstruct the Hana DB data structure schema (i.e. tables, fields, etc) in our devtest environment based on a customer's new setup so we can build and tune those queries on our side.
Is there a recommended way to quickly export or dump the Hana DB, either just the structure only or the structure plus their current test data set in the database and then recreate on our side?
As an example in MySQL, it would be something as simple as:
- Test Customer's side:
mysqldump -h host -uuser -p database_name > database_name.sql
- Our DevTest side:
mysqladmin -h host -uuser -p create database_name
- Our DevTest side:
mysql -h host -uuser -p database_name < database_name.sql
Is there an equivalent to the above steps for a Hana DB?
Are there both GUI tool and command line tool equivalents of the above that would already be installed on the Windows machine where they have it installed?
If our test customer is running on Windows and we intend to setup our DevTest Hana DB on Linux, are the tools and syntax to export/import the same?
Will there be any differences if we intend to use SAP Hana Express Edition from the Docker Store for our DevTest environment and our customer is likely using a full blown SAP Hana edition. Are the DB structure and commands/tools and syntax going to be all the same?