LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-02-2011, 02:00 AM   #1
high_density
LQ Newbie
 
Registered: Feb 2011
Posts: 10

Rep: Reputation: 0
unable to restore sql_ascii in postgresql


Dear Linux Masters

I've got a 80 MB sql_acii backup database from our previous crashed down open solaris pc. I am trying to restore it to the postgresql of Fedora 13 but this error appears:

pg_restore [custom archiver] could not uncompress data: incorrect data check
pg_restore*** aborted because of error

Process retured exit code 1



please help
 
Old 05-02-2011, 05:08 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Missing several bits of info here ....


Postgres version on both machines?
Locale on both machines?
Databases' locale on both machines?
File transfer method?

The first thing that springs to mind is that the file is corrupted,
and can't be uncompressed using zlib; second thought is that (not likely,
I know) that zlib on both platforms was implemented differently.




Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postgresql restore command :: Which one to use? custangro Linux - Server 1 06-17-2008 06:29 PM
unable to login to postgresql veeramani Programming 2 11-29-2006 03:42 AM
Unable to connect To Database...PostgreSQL and PHP Manashi Programming 8 04-05-2006 07:57 AM
Embedded SQL -Unable to connect to PostgreSQL database vikram_cvk Linux - Software 1 05-30-2004 07:14 AM
postgresql restore problem basbosco Linux - General 0 03-04-2004 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration