473,811 Members | 1,881 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pg_dumpall problem

Did a pg_dumpall from my production database (7.3.2) and I tried to restore
to my Dev database (7.4). I receive a data exception error during the
import and was stupid enough not to write it down. Is there a log some
place I can look to see what the error was?
Also, what does one do when the dump file over 5 gigs? How can I possibly
correct whatever error is ocurring?

TIA

Patrick Hatcher

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 12 '05 #1
3 1924
Patrick Hatcher writes:
Did a pg_dumpall from my production database (7.3.2) and I tried to restore
to my Dev database (7.4). I receive a data exception error during the
import and was stupid enough not to write it down. Is there a log some
place I can look to see what the error was?
Depends on how you started the postmaster. Maybe it's in syslog, maybe
it's in the log file you specified, or maybe it's in /dev/null. Also, you
could just try again and write down the error this time.
Also, what does one do when the dump file over 5 gigs?
There should be no problem with that. Except of course that it is large
and slow to reload, but that you have to deal with.
How can I possibly correct whatever error is ocurring?


Find out what the error is first. :-)

--
Peter Eisentraut pe*****@gmx.net
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 12 '05 #2

----- Original Message -----
From: Patrick Hatcher
To: pg***********@p ostgresql.org
Sent: Thursday, November 20, 2003 12:34 AM
Subject: [GENERAL] Pg_dumpall problem
Did a pg_dumpall from my production database (7.3.2) and I tried to restore
to my Dev database (7.4). I receive a data exception error during the
import and was stupid enough not to write it down. Is there a log some
place I can look to see what the error was?
Also, what does one do when the dump file over 5 gigs? How can I possibly
correct whatever error is ocurring?
Depending what the error is sed is a wonderful tool for editing large files.

Matthew
Nov 12 '05 #3

----- Original Message -----
From: Patrick Hatcher
To: pg***********@p ostgresql.org
Sent: Thursday, November 20, 2003 12:34 AM
Subject: [GENERAL] Pg_dumpall problem
Did a pg_dumpall from my production database (7.3.2) and I tried to restore
to my Dev database (7.4). I receive a data exception error during the
import and was stupid enough not to write it down. Is there a log some
place I can look to see what the error was?
Also, what does one do when the dump file over 5 gigs? How can I possibly
correct whatever error is ocurring?
Depending what the error is sed is a wonderful tool for editing large files.

Matthew
Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1488
by: Edwin Quijada | last post by:
Hi! I am trying to do a dump all and when I do this I get this error pg_dumpall: query failed: ERROR: Unable to convert abstime 'invalid' to timestamp pg_dumpall: query was: SELECT usename, usesysid, passwd, usecreatedb, usesuper, CAST(valuntil AS timestamp) FROM pg_shadow WHERE usesysid <> (SELECT datdba FROM pg_database WHERE datname = 'template0'); What is my problem???
0
1117
by: Hunter Hillegas | last post by:
I am trying to restore a file that I created using pg_dumpall. I have searched the archives and the documentation. I know I am supposed to use pg_restore but there is no example for restoring from a pg_dumpall file (where the databases don't already exist). How is it done? I think I have to specify a template or something but I can't figure it out. Can this be added to the documentation? It seems like something that lots of
0
1079
by: Hunter Hillegas | last post by:
I see that this is in fact documenated in the man page for pg_dumpall, when I was looking at psql and pg_restore. Thanks, Hunter ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
1
389
by: Patrick Hatcher | last post by:
Did a pg_dumpall from my production database (7.3.2) and I tried to restore to my Dev database (7.4). I receive a data exception error during the import and was stupid enough not to write it down. Is there a log some place I can look to see what the error was? Also, what does one do when the dump file over 5 gigs? How can I possibly correct whatever error is ocurring? TIA Patrick Hatcher
3
1599
by: Denis Gasparin | last post by:
I created a user with no superuser privileges: CREATE USER aaa PASSWORD 'bbb' NOCREATEDB NOCREATEUSER; Then i created an authorization schema: CREATE SCHEMA AUTHORIZATION aaa; All worked fine.
3
1756
by: Henrik Farre | last post by:
I just been choosen as sys adm on a small network. We have a old Sun Ultra 1 running postgresql 7.1.3. I would like to migrate the database to a new machine and a newer version of postgresql. But when I run the pg_dumpall command I get the followering error, after a while: WARNING: owner of type 'counter' appears to be invalid dumpRules(): SELECT failed for rules associated with table "counter". Explanation from backend: 'pqReadData() --...
1
4856
by: Bob Powell | last post by:
** High Priority ** Hello everyone, I have a restore file created by pg_dumpall. The restore file has two users associated with ownership of tables. The postgres user and a user called nsadmin. When I attempt to restore this it won't create my call_handlers because it's not the postgres user. If I attempt to restore under the nsadmin
5
1995
by: NTPT | last post by:
Regardi I recently compile Postgresql 7.4.3 with gcc 3.4.0 on RH 7.3 . Regression tests work well All passed, but Some binaries report a relocation error: :pg_dumpall undefined symbol get_progname . This error occures in most of the binaries. What is wrong ?
1
2031
by: Ben Trewern | last post by:
All, There seems to be a bug in pg_dumpall: For one of my dbs I've done: ALTER DATABASE dbname SET search_path = mw, public; If I do a pg_dumpall I get a line like:
0
9728
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10648
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10402
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10135
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7670
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3018
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.