Unix Technical Forum

problems restoring database from plain text backup

This is a discussion on problems restoring database from plain text backup within the pgsql Novice forums, part of the PostgreSQL category; --> Dear All, I have a backup plain text file. It was created with Windows PgAdminIII 1.2.2 from the Linux ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 09:24 PM
Oleg
 
Posts: n/a
Default problems restoring database from plain text backup

Dear All,
I have a backup plain text file. It was created with Windows PgAdminIII
1.2.2 from the Linux server. Now Linux server does not functioning. I am
trying to restore it in Windows PostgreSQL. If I use PgAdmin's restore
tool then OK is stays always disabled. Somewhere was mentioned that
while backuping one should select COMPRESS option in backup tool but it
is not possible now. I tried to execute backup file using SQL tool but
I am getting a lot of errors. I tried to edit backup file manually,
I am getting errors "syntax error at or near "\" in the line:
COPY becken_varianten (becken_variante_id, knoten, becken_layout_id)
FROM stdin;
\.
may I comment "\." ?

Next problem "syntax error at or near "0"" in the line:
COPY def_becken_layout (becken_layout_id, knoten, beschreibung) FROM stdin;
0 5 keine Beckensimulation

Is there a possibility to restore backup under Windows?
Under Windows PostgreSQL 8.0 is installed. Do you thing installing
PostgreSQL 8.1 will solve the problem?
Thanks a lot in advance
Oleg


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:33 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com