Unix Technical Forum

Restaurando una base de datos

This is a discussion on Restaurando una base de datos within the Pgsql General forums, part of the PostgreSQL category; --> Hola a todos Hace un rato baje la version 8.0 de para win, la instale y la verdad no ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 08:08 PM
alejandro fernandez
 
Posts: n/a
Default Restaurando una base de datos

Hola a todos

Hace un rato baje la version 8.0 de para win, la instale y la verdad no se por donde hacer para poder restaurar el back up de mi bd; he ingresado a la opcion psql on template 1 y alli escribo psql dbname < c:\infile.bk y no ejecuta el restore.

Alguien sabe como debo hacerlo gracias por la ayuda

Alejandro




---------------------------------


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 08:09 PM
John DeSoi
 
Posts: n/a
Default Re: Restaurando una base de datos


On Jan 25, 2005, at 10:24 AM, alejandro fernandez wrote:

>
> Hace un rato baje la version 8.0 de para win, la instale y la verdad
> no se por donde hacer para poder restaurar el back up de mi bd; he
> ingresado a la opcion psql on template 1 y alli escribo psql dbname <
> c:\infile.bk y no ejecuta el restore.


intente:

psql dbname -f c:\infile.bk

En Windows pienso que hay un problema usando ">" y "<"

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:17 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com