Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Is there an option to export globals in archive?

Question
Evgeny Shvarov · Apr 1, 2017

Is there an option to export globals in archive?

Hi, Community!

Is there an option to get an archived file of globals in one command. Say for:

Do $System.OBJ.Export("Class1*D.GBL,Class2*D.GBL","data_gbl.xml")

get something like:

Do $System.OBJ.Export("Data*D.GBL","data_gbl.gz","gzip")

And also to have the convenient one click way to  import it to the namespace via terminal or Control Panel?

If anyone already has this module, share please?

It would be very convenient for import/export/continuous integration purposes cause globals can be really heavy.

#Continuous Integration #Globals #Development Environment #Terminal #Caché

Source URL:https://community.intersystems.com/post/there-option-export-globals-archive