-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[EMAIL PROTECTED] writes:

> Tengo una base en postgresql en slink. Ayer pas� este pc de slink a potato
> sin ning�n problema, excepto la base de datos.
> 
> He le�do la migraci�n que indica Debian y dando los comandos que vienen no
> he sido capaz de actualizar la base de datos. Tengo guardado en backup la
> versi�n 6.3.
> Her usado los siguiente:
> 
>   # su - postgres
>    $ postgresql-dump -t db.out -cilfdp $PGDATA/../data.save    aunque he 
> tenido que modificar el
> $PGDATA quit�ndolo
> 
> y he usado este comando:
> 
>   # su - postgres
>    $ postgresql-dump -t db.out -cilfdp ../data.save
> 
> Tambi�n he usado el otro que recomiendan
> 
>        # su - postgres
>         $ postgresql-dump -t db.out -dcilp ../data.save
> 
> e incluso el volcado a fichero por partes:
>    postgresql-dump -t fichero               # dump to tape
>     postgresql-dump -c -t fichero            # check tape dump
>     postgresql-dump -d -t fichero -i -l      # destroy the old database
>                                               # create a new one and
>                                               # load the dump


Una vez que tienes el db.out (que estar� por alguna parte, b�scalo con
find), puedes probar el siguiente comando:

psql -e database <db.out

Yo hice la migraci�n que cuentas, de slink a potato, y no recuerdo
como lo hice exactamente, pero no tengo el recuerdo de que fuera muy
complicado. Si no te funciona, m�ndame un mail y te lo miro con m�s calma.

Han Solo
The Rebel Alliance

Emacs is not on every system

So what? [...] Do you tell your administrative people to stick with
notepad.exe? Do you tell your fat kids they can only have the crummy
games that come with their video games or plain dress that comes with
Barbie?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard 
<http://www.gnupg.org/>

iEYEARECAAYFAjpKJGUACgkQ4FjpJaPEp231/ACfRoDhL9V77nSWP66+FFCZ0lYL
bKYAoPs+Lj3DDDWNHbqM9+xzAkZTAtNW
=Kp1L
-----END PGP SIGNATURE-----

Responder a