CLI tool to transfer system data between environments

Today I wanted to share an useful tool that I built few months ago to work across environments of the same instance.

The CLI System Data is a command line tool built to simplify some of the data transferring tasks between environments of the same system.

The System Data tool helps you export and import some of the data available in Sugar using JSON data files.

It has been built for Sugar 7.9 and above, as it leverages prepared statements.

You can read more about its features and functionalities on the SugarLabs repository: https://github.com/sugarcrmlabs/SystemData

Cheers

Parents Reply
  • Thanks for the quick response Enrico Simonetti.

    Yes, I am using this tool to import data from UAT system to Production system without any manual intervention with standard users, teams and roles already present on the production system.

    1. Regarding duplicate user error, you are right. Production system already had this user entry with different ID and hence got an error.

    2. I exported these reports from UAT and imported into production with all the required teams, users and roles imported earlier with success. I will have another look into this.

    Just thought of sharing it here. Thank you.

    Regards.

    Hats

Children
No Data