Pamiętniki z upgradeów
wrobell
wrobell at ite.pl
Wed Mar 6 01:10:37 CET 2002
On Tue, Mar 05, 2002 at 07:51:07PM +0100, Michal Kochanowicz wrote:
> On Tue, Mar 05, 2002 at 07:32:44PM +0100, Michal Kochanowicz wrote:
> > [root at woland RPMS]# psql < ~/sql.pg_dumpall-2002-03-05
> > psql: FATAL 1: The data directory was initialized by PostgreSQL version 7.2, which is not compatible with this version 7.1.3.
> > [root at woland RPMS]# rpm -qa | g postg
> > postgresql-libs-7.2-6
> > postgresql-clients-7.2-6
> > postgresql-7.2-6
> No to już się wyjaśniło. Wbrew temu:
> [root at woland RPMS]# /etc/rc.d/init.d/postgresql restart
> Usluga PostgreSQL nie jest uruchomiona.
>
> Okazało się że postmaster cały czas działał. Skilowanie go i wywołanie:
> [root at woland RPMS]# /etc/rc.d/init.d/postgresql start
>
> O KUUUUUUUUUUUUUUUUUUUUUUUUUUURRRRRRRRRRRWAAAAAAAAAAAAAAAAAAAAAAAAAA!
> Właśnie wyjebałem wszystkie bazy. Idę się powiesić.
Ale masz tego dump-a prawda?
initdb wykonany?
No to napewno nie:
psql < ~/sql.pg_dumpall-2002-03-05
I na pewno nie jako *root*.
Jako użytkownik postgres
psql template1 < ~/sql.pg_dumpall-2002-03-05
wrobell <wrobell at ite.pl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: </mailman/pipermail/pld-devel-pl/attachments/20020306/e8c61822/attachment.sig>
More information about the pld-devel-pl
mailing list