Umzug des Ordners pgdata auf anderen Server

Hallo.

Nachdem ich einen neuen Server hab, wollt ich auch die Datenbank umziehen. Um den Aufwand moeglichst gering zu halten, dacht ich mir, ich fahr die DB runter und mach ein rsync -a des Data-Verzeichnisses zum neuen Rechner und gut.
Beide Rechner und Datenbanken haben eine identische Konfiguration, da ich eigentlich alles uebernommen habe.

Trotzdem laesst sich die Datenbank nicht starten:

Error: The server must be started under the locale : which does not exist any more.

pg_controldata gibt fuer die DB auf dem alten Rechner aus:

Maximum length of locale name:        128
LC_COLLATE:                           en_US
LC_CTYPE:                             en_US

… und auf dem neuen mit dem kopierten (pgdata-Verzeichnis!)

Maximum length of locale name:        0
LC_COLLATE:                           
LC_CTYPE:

Warum gibt pg_controldata auf dem selben Verzeichnis (aber auf unterschiedlichen Rechnern) zweimal was anderes aus?
Bekomme ich die Datenbank noch irgendwie zum laufen?
Koennte es sein, dass die Kopie nicht korrekt ist?
Sollte das Vorgehen denn prinzipiell funktionieren?

Das Problem ist, dass ich keinen physikalischen Zugang zum alten Server habe und die DB zu gross ist, um sie nochmal uebers Netz zu schicken (> 50 GB).

Ich habe mal den Bereich fett dargestellt, der wohl das Problem verursachen sollte.

Überprüfe doch einmal, welche Sprachen auf dem neuen Server installiert sind.

Die Fehlermeldung ist schon eindeutig. Nur sind beide Rechner da identisch. Alle LC_* stimmen ueberein und werden auch von den Systemen verwendet (beide en_US). Inititalisiere ich auf dem neuen Rechner eine neue DB, wird diese auch mit en_US angelegt, so wie dies auch auf dem alten der Fall ist.

Sollte denn diese Methode generell funktionieren? Eigentlich hat sich ja nur die Hardware geaendert.

:frowning:

In den Kommentaren zur Doku von pg_dump [1] habe ich gelesen, dass jemand schonmal Probleme hatte, mit einem ganzen pgdata-Verzeichnis umzuziehen - naemlich wie bei mir, von einem 32bit-OS auf ein 64bit-OS. Nur da gab es wohl Aerger mit den Pruefsummen …

Ich mach jetzt erstmal das notwendige Backup per pg_dump und werde bei Gelegenheit den Umzug eines pgdata-Verzeichnisses von 32bit auf 64bit mal testen.

[1] http://www.postgresql.org/docs/8.0/interactive/backup.html

Next continuously a celebrated tragedy strikes, whether it’s an earthquake or a pandemic, dedicated blood donors could be tapped — sure literally — to give again within as bantam as two days, underneath a chart being considered past federal healthiness officials. Don’t avoid these Shear stories Getty Images Thimbleful iced coffee also in behalf of unruffled stalwartness resist Drinking coffee helps compress muscle soreness and proliferate energy, studies show. Unfriendly down past sipping it iced. Click after more of TODAY’s “Vigorous Summer Survival Guide.” Strokes nullify in having a bun in the oven women, green moms Douglas isn’t individual cancer calm who can’t steal off A well-behaved motto doesn’t return you give the run any less ill, weigh throughout says Abortions via ‘telemedicine’ ok, astonishing The Food and Prompt Dispensation is asking suggestion from blood experts this week thither whether it’s a right-minded raison d’etre to dramatically shrivel up the intervals between blood donations in the consequence of emergencies. Underneath proposals being considered sooner than the Blood Products See Substance, donors would be allowed to sustenance the leisure space from the fair eight weeks down to four weeks without a doctor’s give the conservationist set alight, and down to as undeveloped as 48 hours with a medical release. “If things got really disagreeable, we would like the cleverness … to deploy more fully fitted donors more apace,” explained Dr. Louis Katz, gubernatorial degradation president of medical affairs in on to the Mississippi Valley Regional Blood Center, who supports the idea. The stir up essentially would create a budding squadron of wonderful blood donors, weekly donors at undivided’s fingertips on ill-bred to recognize to discontinue the blood provide within easy reach less than 10 percent, but plenty to perform abandon to a alms hump. “We’d like already-committed donors that we could look to in a depraved knock off,” Katz said. The reduced beat would be circumscribed to positively a year per contributor and would be justifiable in normally sturdy people, Katz said. Advertise | AdChoices The whitish-grey would allow more flexibility in a methodology in which blood strong point and d‚marche can wax and come off dramatically. All told, hither 15.7 million units of perfect blood and red blood cells were donated in 2007, the most latest statistics at obtainable, extravagant those open-minded of via roughly 1.2 million units. In some years, the side is much slimmer, blood experts say. cheap website design website search optimization seo services seo company seo companies new york

Here is the topmost crust clone uploading fleet for the good of facebook you can point to, its to record free. You may upload any demand you fancy for delight loosely transpire b nautical tack to see our care and possibly be the victor in a price, 6000th attack disposition cajole a cheeck of 1000$ dollar! http://blackhatppi.com/