Export & Import of a single Data Set

24 views
Skip to first unread message

gerald thomas

unread,
Jun 19, 2017, 7:31:35 PM6/19/17
to dhis2-users, dhis2-devs, DHIS2 system administrators
Dear all,
I am inquiring how could I export a single Data set from one instance and import that Data set to another instance.
Please help 

Morten Olav Hansen

unread,
Jun 19, 2017, 10:33:51 PM6/19/17
to gerald thomas, dhis2-users, dhis2-devs, DHIS2 system administrators
Hi Gerald

What version of DHIS2 are you on? if you are on a recent version (I think 2.25+) you can go to import-export module, then select metadata dependency export, and then the data set you want exported.

This data set can then be imported into your other instance.

--
Morten

--
You received this message because you are subscribed to the Google Groups "DHIS2 system administrators" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dhis2-system-administrators+unsub...@googlegroups.com.
To post to this group, send email to dhis2-system-administrators@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/dhis2-system-administrators/CA%2BthV3TNnraDen%3DerDuVSxpzkt%3DVwyevxw71WK1qk%2BFFWL0_Pg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

gerald thomas

unread,
Jun 20, 2017, 2:53:48 AM6/20/17
to Morten Olav Hansen, dhis2-users, dhis2-devs, DHIS2 system administrators
Dear Morten,
I am using 2.26. Let me try your workaround and get back to you with
the result. Thanks very much.

On 6/20/17, Morten Olav Hansen <mort...@gmail.com> wrote:
> Hi Gerald
>
> What version of DHIS2 are you on? if you are on a recent version (I think
> 2.25+) you can go to import-export module, then select metadata dependency
> export, and then the data set you want exported.
>
> This data set can then be imported into your other instance.
>
> --
> Morten
>
> On Tue, Jun 20, 2017 at 6:31 AM, gerald thomas <geral...@gmail.com>
> wrote:
>
>> Dear all,
>> I am inquiring how could I export a single Data set from one instance and
>> import that Data set to another instance.
>> Please help
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DHIS2 system administrators" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dhis2-system-admini...@googlegroups.com.
>> To post to this group, send email to dhis2-system-administrators@
>> googlegroups.com.
>> To view this discussion on the web, visit https://groups.google.com/d/
>> msgid/dhis2-system-administrators/CA%2BthV3TNnraDen%3DerDuVSxpzkt%
>> 3DVwyevxw71WK1qk%2BFFWL0_Pg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/dhis2-system-administrators/CA%2BthV3TNnraDen%3DerDuVSxpzkt%3DVwyevxw71WK1qk%2BFFWL0_Pg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>


--
Regards,

Gerald

gerald thomas

unread,
Jun 20, 2017, 7:34:30 AM6/20/17
to Morten Olav Hansen, dhis2-users, dhis2-devs, DHIS2 system administrators
Dear Morten,

The import is not moving beyond this point shown below:

2017-06-20 06:38:44 (geraldthomas) Updating 10 object(s) of type Section
2017-06-20 06:38:43 (geraldthomas) Updating 1 object(s) of type DataSet
2017-06-20 06:38:43 (geraldthomas) Updating 10 object(s) of type Indicator
2017-06-20 06:38:43 (geraldthomas) Updating 1 object(s) of type IndicatorType
2017-06-20 06:38:43 (geraldthomas) Updating 73 object(s) of type DataElement
2017-06-20 06:38:42 (geraldthomas) Updating 2 object(s) of type OptionSet
2017-06-20 06:38:42 (geraldthomas) Updating 3 object(s) of type Option
2017-06-20 06:38:39 (geraldthomas) Import:Start


It had been on this for almost 4 hours now.
--
Regards,

Gerald

gerald thomas

unread,
Jun 20, 2017, 6:10:16 PM6/20/17
to Morten Olav Hansen, dhis2-users, dhis2-devs, DHIS2 system administrators
Dear Morten,
I was trying to update the corrupted data set rather than creating a
new one that was my issue before. I deleted the corrupted one and do
the import again; it works perfect.

Thanks for your help.
--
Regards,

Gerald
Reply all
Reply to author
Forward
0 new messages