postgresql update - daten wiederherstellen

Andre Landwehr andre.landwehr at gmx.net
Fri Jun 20 13:09:02 CEST 2003


On Fri, Jun 20, 2003 at 12:39:04PM +0200, Lars Boeker wrote:
> postgres at rory:~$  /var/lib/postgres/dumpall/7.2/postmaster -D
> /var/lib/postgres/preserve/data.7.2.1-2.save/  -p 5431 -o -d0
> FATAL 1:  'DATESTYLE' is not a valid option name

Schau dir mal die Dateien in /etc/postgres an, such dort nach
DATESTYLE und kommentier die Zeile aus... irgendwie sollte man
das jedenfalls wieder ans Laufen bringen können, ich hab zwar
auch einen Tag gebraucht aber hab es hinbekommen.

Wenn du das .deb vom alten Postgres noch hast oder irgendwo
findest, kannst du auch mit dpkg --force-downgrade ein downgrade
erzwingen.

Seit mir das gleiche Problem damals passiert ist, mache ich
auch von postgres Daten Backups ;-) Die Textdumps der Datenbank
sind übrigens signifikant kleiner als die nativen Daten, (ca. 30MB
nativ bei mir werden zu <300kB Textdump), weil die
Änderungshistory nicht mit gedumped wird.

Andre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20030620/a9e0751b/attachment.sig>


More information about the Linux mailing list