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
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to