← Back to team overview

dhis2-users team mailing list archive

Re: Interoperating 2 DHIS2 instances to pull data from one to other.

 

Hi Vunda and Terence

Ideally you have an identical set of metadata for indicators, dataElements
and dataSets (or dataElements and Programs). You can then pull dataValues
(or events) via API of the source instance (1) and then post them again (2)
to the API of the target instance. To routinely do this, install a cronjob
which calls your script e.g. once a day.

(1)
https://docs.dhis2.org/2.22/en/developer/html/dhis2_developer_manual_full.html#d5274e1642
https://docs.dhis2.org/2.22/en/developer/html/dhis2_developer_manual_full.html#d5274e1994

(2)
https://docs.dhis2.org/2.22/en/developer/html/dhis2_developer_manual_full.html#d5274e1316
https://docs.dhis2.org/2.22/en/developer/html/dhis2_developer_manual_full.html#d5274e1788

Best
David



On Tue, Feb 28, 2017 at 10:11 AM, Terence Scott <
terence.scott@xxxxxxxxxxxxxxxxxx> wrote:

> Hi Vunda
>
> We are also interested in interoperating two instances and would also like
> to have data mirrored between the two instances automatically. Any advice
> would be welcome as to how to proceed with this - we are specifically
> interested in mirroring a tracker programme.
>
> Kind regards,
> Terence
>
>
> Terence Scott
>
> Global Alliance for Rabies Control (GARC)
> Pan-African Rabies Control Network (PARACON) Steering Committee
> terence.scott@xxxxxxxxxxxxxxxxxx
> https://paracon.rabiesalliance.org
> Skype: tpscott1987
>
>
> On Wed, Feb 22, 2017 at 5:17 PM, vunda limbe <vundalon@xxxxxxxxx> wrote:
>
>> Hi Every body,
>>
>> I want to interoperate two instance. the first is running version 2.22
>> and the second is running v.2.23. I have a specific data elements,
>> indicators that I want them pull automatically monthly data to the second
>> Instance.
>> I'm looking for a script or something else that can make its possible and
>> the way  and where to set up.
>> Your help is welcome,
>>
>>
>> Thanks.
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 


*David Huser*
DHIS2 Support Specialist
dhuser@xxxxxxxxxxxxxx | https://baosystems.com | Skype: dafhus | 2900 K
Street, Suite 406, Washington D.C. 20007

Follow ups

References