dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27732
Re: How to backup my database using psql shell on windows
Hi Gerald,
Open Command Prompt and use the following command.
pg_dump -U usename db_name > PathToFile\FileName.sql
I hope it helps,
Seid,
On Wed, Jan 22, 2014 at 2:44 AM, Gerald Thomas <gerald.81@xxxxxxxxxxx>wrote:
> Dear Support,
> Please I need to make a backup of my dhis database on a windows PC using
> the psql shell. Please can someone help with the command and always where
> can I locate this file after the backup had been completed.
>
> Sent from Windows Mail
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
References