dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #11930
Re: Postgres restore problem
Den 4. mai 2011 kl. 13.40 skrev Knut Staring:
> I'm trying this on my server:
> pg_restore -i -d dhis2_demo -v dhis2demo.backup
>
> but all I get is this:
> pg_restore: [archiver] input file does not appear to be a valid archive
>
> Is this likely to be because I still have 8.4 on the server? If so, any tips on upgrading (I have lots of data on the server)?
If dhis2demo.backup is the sample db, it might just be that it is in sql format?
In that case, I guess just run
psql dhis2_demo < dhis2demo.backup
Jo
References