Just did an export on my 1.2.1 server and tried to import it into a fresh 1.2.2 install. Getting this in the operations.log:
2016-11-02 21:28:30,393 - cns.operation - INFO - Starting operation migration 2016-11-02 21:28:30,561 - cns.migration - INFO - ['-o', 'migration', '-a', 'restore', '--account', 'cnmaestro', '--force'] 2016-11-02 21:28:30,567 - cns.migration - INFO - Started Restore cnmaestro, False! 2016-11-02 21:28:30,568 - cns.migration - INFO - Check Jobs runnig in soruce db! 2016-11-02 21:28:30,591 - cns.migration - INFO - Check jobs running is source db done in 0 (sec) 2016-11-02 21:28:30,593 - cns.migration - INFO - Started Dump! cnmaestro, True 2016-11-02 21:28:30,593 - cns.migration - INFO - Check Jobs runnig in soruce db! 2016-11-02 21:28:30,595 - cns.migration - INFO - Check jobs running is source db done in 0 (sec) 2016-11-02 21:28:30,596 - cns.migration - INFO - Checking dir mongodump exists 2016-11-02 21:28:30,597 - cns.migration - INFO - Checking dir pgdump exists 2016-11-02 21:28:30,597 - cns.migration - INFO - Checking dir nocFiles exists 2016-11-02 21:28:30,598 - cns.migration - INFO - Dump existing noc files! 2016-11-02 21:28:30,600 - cns.migration - INFO - Executing command 'dpkg -s cnmaestro-router | grep Version' 2016-11-02 21:28:30,648 - cns.migration - INFO - Noc files dump done! 2016-11-02 21:28:30,650 - cns.migration - INFO - Started Posgtres dump! 2016-11-02 21:28:30,650 - cns.migration - INFO - Started Posgtres dump router! 2016-11-02 21:28:30,650 - cns.migration - INFO - Executing command 'PGPASSWORD=postgres pg_dump -d cnmaestro_router -h 127.0.0.1 -p 5432 -U postgres -f /tmp/migration/dumps/pgdump/cnmaestro_router.sql' 2016-11-02 21:28:31,056 - cns.migration - INFO - Started Posgtres dump server! 2016-11-02 21:28:31,058 - cns.migration - INFO - Executing command 'PGPASSWORD=postgres pg_dump -d cnmaestro_server -h 127.0.0.1 -p 5432 -U postgres -f /tmp/migration/dumps/pgdump/cnmaestro_server.sql' 2016-11-02 21:28:31,270 - cns.migration - INFO - Started Posgtres dump controller! 2016-11-02 21:28:31,273 - cns.migration - INFO - Executing command 'PGPASSWORD=postgres pg_dump -d controller -h 127.0.0.1 -p 5432 -U postgres -f /tmp/migration/dumps/pgdump/controller.sql' 2016-11-02 21:28:31,545 - cns.migration - INFO - Skipped dumping mongo collection cnmaestro.alarm db notifications, as collection not exists 2016-11-02 21:28:31,546 - cns.migration - INFO - Executing command 'mongodump --host 127.0.0.1:27017 --db notifications --collection cnmaestro.event --out /tmp/migration/dumps/mongodump/cnmaestro.event' 2016-11-02 21:28:31,646 - cns.migration - INFO - Successfully dumped mongo collection cnmaestro.event db notifications 2016-11-02 21:28:31,670 - cns.migration - INFO - Executing command 'mongodump --host 127.0.0.1:27017 --db stats --collection cnmaestro.inventory --out /tmp/migration/dumps/mongodump/cnmaestro.inventory' 2016-11-02 21:28:31,785 - cns.migration - INFO - Successfully dumped mongo collection cnmaestro.inventory db stats 2016-11-02 21:28:31,786 - cns.migration - INFO - Skipped dumping mongo collection cnmaestro.clients db stats, as collection not exists 2016-11-02 21:28:31,788 - cns.migration - INFO - Skipped dumping mongo collection cnmaestro.clients.failures db stats, as collection not exists 2016-11-02 21:28:31,788 - cns.migration - INFO - Skipped dumping mongo collection cnmaestro.hrchy.days db stats, as collection not exists 2016-11-02 21:28:31,788 - cns.migration - INFO - Skipped dumping mongo collection cnmaestro.stats.hours db stats, as collection not exists 2016-11-02 21:28:31,788 - cns.migration - INFO - Skipped dumping mongo collection cnmaestro.stats.days db stats, as collection not exists 2016-11-02 21:28:31,788 - cns.migration - INFO - Skipped dumping mongo collection cnmaestro.template db stats, as collection not exists 2016-11-02 21:28:31,789 - cns.migration - INFO - Executing command 'mongodump --host 127.0.0.1:27017 --db stats --collection cnmaestro.upgrade.job --out /tmp/migration/dumps/mongodump/cnmaestro.upgrade.job' 2016-11-02 21:28:31,853 - cns.migration - INFO - Successfully dumped mongo collection cnmaestro.upgrade.job db stats 2016-11-02 21:28:31,855 - cns.migration - INFO - Executing command 'mongodump --host 127.0.0.1:27017 --db stats --collection cnmaestro.config.job --out /tmp/migration/dumps/mongodump/cnmaestro.config.job' 2016-11-02 21:28:31,924 - cns.migration - INFO - Successfully dumped mongo collection cnmaestro.config.job db stats 2016-11-02 21:28:31,925 - cns.migration - INFO - Skipped dumping mongo collection cnmaestro.edetect.days db stats, as collection not exists 2016-11-02 21:28:32,075 - cns.migration - INFO - Deleted Mongo dump files exists in path /tmp/migration/dumps 2016-11-02 21:28:32,076 - cns.migration - INFO - Publishing json data {'action': 'restore', 'status': 'PROGRESS', 'account': 'cnmaestro', 'value': 25} 2016-11-02 21:28:32,092 - cns.migration - ERROR - Error in extract tar file /tmp/migration/uploads/cnmaestro-import.tar.gz to destination dir /tmp/migration 2016-11-02 21:28:32,094 - cns.migration - INFO - Cleaning restore files and directories! 2016-11-02 21:28:32,094 - cns.migration - ERROR - Failed restore! 2016-11-02 21:28:32,094 - cns.migration - INFO - Publishing json data {'action': 'restore', 'status': 'ERROR', 'account': 'cnmaestro', 'code': 'RESTORE_FAILED', 'cause': 'Failed to import data!'} 2016-11-02 21:28:32,095 - cns.migration - ERROR - Error json data {'action': 'restore', 'status': 'ERROR', 'account': 'cnmaestro', 'code': 'RESTORE_FAILED', 'cause': 'Failed to import data!'} for account cnmaestro 2016-11-02 21:28:32,095 - cns.migration - ERROR - invalid header 2016-11-02 21:28:32,096 - cns.migration - INFO - Closing mongo connection! mongodb://127.0.0.1:27017/notifications 2016-11-02 21:28:32,097 - cns.migration - INFO - Closing mongo connection! mongodb://127.0.0.1:27017/stats 2016-11-02 21:28:32,098 - cns.migration - INFO - Disconnecting redis connection pool 127.0.0.1:6379:5 2016-11-02 21:30:01,806 - cns.operation - INFO - Starting operation sys-monitor 2016-11-02 21:30:01,926 - cns.monitor - INFO - Start System Monitoring 2016-11-02 21:30:02,943 - cns.monitor - INFO - Created the monit data! 2016-11-02 21:30:02,945 - cns.monitor - INFO - Created the monit hours data! <pymongo.results.InsertOneResult object at 0x7fdb600e1640> 2016-11-02 21:30:03,060 - cns.monitor - INFO - Deleted the hour data successfully! match {'ts': {'$lt': 1478032202944.077}} result {u'ok': 1, u'n': 0} 2016-11-02 21:30:03,062 - cns.monitor - INFO - Closing mongo connection! mongodb://127.0.0.1:27017/monitor 2016-11-02 21:30:03,063 - cns.monitor - INFO - System Monitoring done 1 (sec)!