1 Transfer this IoTMain.gz to the target machine and run these commands there:
3 shell> mysqladmin create db_name
4 shell> gunzip < db_name.gz | mysql db_name
6 Backup database from MySQL:
8 shell> sudo mysqldump --quick IoTMain -p | gzip > IoTMain.gz