← Back to team overview

dhis2-users team mailing list archive

Re: Fwd: importing sql file in postgresql database

 

Hello, could you please clarify how did you import thing and what is the
error you face?
How did you have you sql backup?
Normally we can import as previous reply
 On Mar 4, 2014 5:08 PM, "HAKIZIMANA Franck" <francescohaki@xxxxxxxxx>
wrote:

>
>
> ---------- Forwarded message ----------
> From: riddy ndoma <riddyndoma@xxxxxxxxx>
> Date: Tue, Mar 4, 2014 at 9:03 AM
> Subject: Re: [Dhis2-users] importing sql file in postgresql database
> To: HAKIZIMANA Franck <francescohaki@xxxxxxxxx>
> Cc: DHIS 2 Users list <dhis2-users@xxxxxxxxxxxxxxxxxxx>
>
>
> Hi @Hakizimana
> firstly, we must create a blank database in pgadmin3. Then type the
> following command in the psql command prompt:
>
> psql-d NAME_DATABASE-U-f NAME_USER PATH_FILE_SQL
>
>
> 2014-03-04 8:58 GMT+01:00 HAKIZIMANA Franck <francescohaki@xxxxxxxxx>:
>
>> hi,
>>
>> I want to import sql file into postgresql database that I want to use in
>> dhis2 2.14 live in local, but I have tried many ways I failed to import it
>> in postgresql.
>> Could someone help me on this issue?
>>
>> best regards,
>>
>> Franck
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Riddy NDOMA
> Software Developer
> *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
> *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
> *Blog:* http://riddyndoma.blogspot.com/
>
> Vous servir est mon désire (Serving you is my desire)
>
>
> _______________________________________________
> 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
>
>

References