pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Restore and backup with VFP
12+ messages / 4 participants
[nested] [flat]

* Restore and backup with VFP
@ 2008-08-27 06:28 Mr. John <mr_johnmr@yahoo.com>
  2008-08-27 16:19 ` Re: Restore and backup with VFP Richard Broersma <richard.broersma@gmail.com>
  0 siblings, 1 reply; 12+ messages in thread

From: Mr. John @ 2008-08-27 06:28 UTC (permalink / raw)
  To: pgsql-odbc

Hi
I'm looking for some clues to backup and restore Postgre database from client side using VFP,I found this 
http://archives.postgresql.org/pgsql-odbc/2007-03/msg00060.php

but doesn't work,I got this error 

"pg_dump.exe"' is not recognized as an internal or external command,
operable program or batch file. 

Thanks 



      

^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Restore and backup with VFP
  2008-08-27 06:28 Restore and backup with VFP Mr. John <mr_johnmr@yahoo.com>
@ 2008-08-27 16:19 ` Richard Broersma <richard.broersma@gmail.com>
  0 siblings, 0 replies; 12+ messages in thread

From: Richard Broersma @ 2008-08-27 16:19 UTC (permalink / raw)
  To: Mr. John <mr_johnmr@yahoo.com>; +Cc: pgsql-odbc

On Tue, Aug 26, 2008 at 11:28 PM, Mr. John <mr_johnmr@yahoo.com> wrote:
> Hi
> I'm looking for some clues to backup and restore Postgre database from
> client side using VFP,I found this
> http://archives.postgresql.org/pgsql-odbc/2007-03/msg00060.php
>
> but doesn't work,I got this error
>
> "pg_dump.exe"' is not recognized as an internal or external command,
> operable program or batch file.

pg_dump.exe is usually located:

C:\Program Files\PostgreSQL\8.X\bin\

You might need to adjust your PATH system variable to see this
directory so that you can execute pg_dump.exe without having to
qualify it with its directory location.


-- 
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Restore and backup with VFP
@ 2008-08-27 17:11 Mr. John <mr_johnmr@yahoo.com>
  2008-08-27 17:19 ` Re: Restore and backup with VFP Richard Broersma <richard.broersma@gmail.com>
  0 siblings, 1 reply; 12+ messages in thread

From: Mr. John @ 2008-08-27 17:11 UTC (permalink / raw)
  To: pgsql-odbc

Thanks Richard for answer,you're right but I want to backup database
from client side  so there is not such file,do I have to copy here?I've
done such thing,it works but backup is saved on client not on server
this can be difficult for big database,I used Firebird RDMS and backups
were done on server side.
Thanks.


----- Original Message ----
From: Richard Broersma <richard.broersma@gmail.com>
To: Mr. John <mr_johnmr@yahoo.com>
Cc: pgsql-odbc@postgresql.org
Sent: Wednesday, August 27, 2008 7:19:27 PM
Subject: Re: [ODBC] Restore and backup with VFP

On Tue, Aug 26, 2008 at 11:28 PM, Mr. John <mr_johnmr@yahoo.com> wrote:
> Hi
> I'm looking for some clues to backup and restore Postgre database from
> client side using VFP,I found this
> http://archives.postgresql.org/pgsql-odbc/2007-03/msg00060.php
>
> but doesn't work,I got this error
>
> "pg_dump.exe"' is not recognized as an internal or external command,
> operable program or batch file.

pg_dump.exe is usually located:

C:\Program Files\PostgreSQL\8.X\bin\

You might need to adjust your PATH system variable to see this
directory so that you can execute pg_dump.exe without having to
qualify it with its directory location.


-- 
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug



      

^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Restore and backup with VFP
  2008-08-27 17:11 Re: Restore and backup with VFP Mr. John <mr_johnmr@yahoo.com>
@ 2008-08-27 17:19 ` Richard Broersma <richard.broersma@gmail.com>
  0 siblings, 0 replies; 12+ messages in thread

From: Richard Broersma @ 2008-08-27 17:19 UTC (permalink / raw)
  To: Mr. John <mr_johnmr@yahoo.com>; +Cc: pgsql-odbc

On Wed, Aug 27, 2008 at 10:11 AM, Mr. John <mr_johnmr@yahoo.com> wrote:
> I want to backup database from
> client side  so there is not such file,do I have to copy here?

I think that using the postgresql installation binary, you can choose
to only install the client tools. (i.e. psql.exe, pg_dump.exe ... ) on
your client machine.


-- 
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Restore and backup with VFP
@ 2008-08-27 17:27 Mr. John <mr_johnmr@yahoo.com>
  2008-08-27 17:33 ` Re: Restore and backup with VFP Richard Broersma <richard.broersma@gmail.com>
  0 siblings, 1 reply; 12+ messages in thread

From: Mr. John @ 2008-08-27 17:27 UTC (permalink / raw)
  To: pgsql-odbc

K,thanks again,I thinks that's the clue,what about backup location on server or on client.



----- Original Message ----
From: Richard Broersma <richard.broersma@gmail.com>
To: Mr. John <mr_johnmr@yahoo.com>
Sent: Wednesday, August 27, 2008 8:14:25 PM
Subject: Re: [ODBC] Restore and backup with VFP

On Wed, Aug 27, 2008 at 10:10 AM, Mr. John <mr_johnmr@yahoo.com> wrote:

> I want to backup database from
> client side  so there is not such file,do I have to copy here?
I think that using the postgresql installation binary, you can choose
to only install the client tools. (i.e. psql.exe, pg_dump.exe ... ) on
your client machine.


-- 
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug



      

^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Restore and backup with VFP
  2008-08-27 17:27 Re: Restore and backup with VFP Mr. John <mr_johnmr@yahoo.com>
@ 2008-08-27 17:33 ` Richard Broersma <richard.broersma@gmail.com>
  0 siblings, 0 replies; 12+ messages in thread

From: Richard Broersma @ 2008-08-27 17:33 UTC (permalink / raw)
  To: Mr. John <mr_johnmr@yahoo.com>; +Cc: pgsql-odbc

On Wed, Aug 27, 2008 at 10:27 AM, Mr. John <mr_johnmr@yahoo.com> wrote:
> K,thanks again,I thinks that's the clue,what about backup location on server
> or on client.


I don't understand your question.  Would you elaborate a little more?


-- 
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Restore and backup with VFP
@ 2008-08-27 17:43 Mr. John <mr_johnmr@yahoo.com>
  2008-08-27 17:48 ` Re: Restore and backup with VFP Richard Broersma <richard.broersma@gmail.com>
  2008-08-27 22:22 ` Re: Restore and backup with VFP Adam M <gnuman1@gmail.com>
  0 siblings, 2 replies; 12+ messages in thread

From: Mr. John @ 2008-08-27 17:43 UTC (permalink / raw)
  To: pgsql-odbc

Database is located on server,when I backup from client computer,the backup is saved on this machine witch means the whole backup file is thrown by network.If there is a huge database,backup time will increase this way,otherwise if database could be saved on server the network traffic will be small and also backup time.

Thanks.



----- Original Message ----
From: Richard Broersma <richard.broersma@gmail.com>
To: Mr. John <mr_johnmr@yahoo.com>
Cc: pgsql-odbc@postgresql.org
Sent: Wednesday, August 27, 2008 8:33:02 PM
Subject: Re: [ODBC] Restore and backup with VFP

On Wed, Aug 27, 2008 at 10:27 AM, Mr. John <mr_johnmr@yahoo.com> wrote:
> K,thanks again,I thinks that's the clue,what about backup location on server
> or on client.


I don't understand your question.  Would you elaborate a little more?


-- 
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug



      

^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Restore and backup with VFP
  2008-08-27 17:43 Re: Restore and backup with VFP Mr. John <mr_johnmr@yahoo.com>
@ 2008-08-27 17:48 ` Richard Broersma <richard.broersma@gmail.com>
  1 sibling, 0 replies; 12+ messages in thread

From: Richard Broersma @ 2008-08-27 17:48 UTC (permalink / raw)
  To: Mr. John <mr_johnmr@yahoo.com>; +Cc: pgsql-odbc

On Wed, Aug 27, 2008 at 10:43 AM, Mr. John <mr_johnmr@yahoo.com> wrote:
> Database is located on server,when I backup from client computer,the backup
> is saved on this machine witch means the whole backup file is thrown by
> network.If there is a huge database,backup time will increase this
> way,otherwise if database could be saved on server the network traffic will
> be small and also backup time.

True.  Whats the question?


-- 
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Restore and backup with VFP
  2008-08-27 17:43 Re: Restore and backup with VFP Mr. John <mr_johnmr@yahoo.com>
@ 2008-08-27 22:22 ` Adam M <gnuman1@gmail.com>
  1 sibling, 0 replies; 12+ messages in thread

From: Adam M @ 2008-08-27 22:22 UTC (permalink / raw)
  To: Mr. John <mr_johnmr@yahoo.com>; +Cc: pgsql-odbc

On Wed, Aug 27, 2008 at 12:43 PM, Mr. John <mr_johnmr@yahoo.com> wrote:
> Database is located on server,when I backup from client computer,the backup
> is saved on this machine witch means the whole backup file is thrown by
> network.If there is a huge database,backup time will increase this
> way,otherwise if database could be saved on server the network traffic will
> be small and also backup time.

If you save database dump on your server, it is also known as "not a backup".

- Adam



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Restore and backup with VFP
@ 2008-08-27 17:59 Mr. John <mr_johnmr@yahoo.com>
  2008-08-27 18:30 ` Re: Restore and backup with VFP Raymond O'Donnell <rod@iol.ie>
  0 siblings, 1 reply; 12+ messages in thread

From: Mr. John @ 2008-08-27 17:59 UTC (permalink / raw)
  To: pgsql-odbc

Can I backup from client machine and save file direct to server to avoid network traffic ?



----- Original Message ----
From: Richard Broersma <richard.broersma@gmail.com>
To: Mr. John <mr_johnmr@yahoo.com>
Cc: pgsql-odbc@postgresql.org
Sent: Wednesday, August 27, 2008 8:48:51 PM
Subject: Re: [ODBC] Restore and backup with VFP

On Wed, Aug 27, 2008 at 10:43 AM, Mr. John <mr_johnmr@yahoo.com> wrote:
> Database is located on server,when I backup from client computer,the backup
> is saved on this machine witch means the whole backup file is thrown by
> network.If there is a huge database,backup time will increase this
> way,otherwise if database could be saved on server the network traffic will
> be small and also backup time.

True.  Whats the question?


-- 
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



      

^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Restore and backup with VFP
  2008-08-27 17:59 Re: Restore and backup with VFP Mr. John <mr_johnmr@yahoo.com>
@ 2008-08-27 18:30 ` Raymond O'Donnell <rod@iol.ie>
  0 siblings, 0 replies; 12+ messages in thread

From: Raymond O'Donnell @ 2008-08-27 18:30 UTC (permalink / raw)
  To: Mr. John <mr_johnmr@yahoo.com>; +Cc: pgsql-odbc

On 27/08/2008 18:59, Mr. John wrote:
> Can I backup from client machine and save file direct to server to avoid
> network traffic ?

If you have SSH available, you could use that to run the backup on the
server...

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Fw: Restore and backup with VFP
@ 2008-08-27 19:11 Mr. John <mr_johnmr@yahoo.com>
  0 siblings, 0 replies; 12+ messages in thread

From: Mr. John @ 2008-08-27 19:11 UTC (permalink / raw)
  To: pgsql-odbc

Thanks,can you give more details about that,I use postgres for Windows.





----- Forwarded Message ----
From: Raymond O'Donnell <rod@iol.ie>
To: Mr. John <mr_johnmr@yahoo.com>
Cc: pgsql-odbc@postgresql.org
Sent: Wednesday, August 27, 2008 9:30:58 PM
Subject: Re: [ODBC] Restore and backup with VFP

On 27/08/2008 18:59, Mr. John wrote:
> Can I backup from client machine and save file direct to server to avoid
> network traffic ?

If you have SSH available, you could use that to run the backup on the
server...

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------



      

^ permalink  raw  reply  [nested|flat] 12+ messages in thread


end of thread, other threads:[~2008-08-27 22:22 UTC | newest]

Thread overview: 12+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-08-27 06:28 Restore and backup with VFP Mr. John <mr_johnmr@yahoo.com>
2008-08-27 16:19 ` Richard Broersma <richard.broersma@gmail.com>
2008-08-27 17:11 Re: Restore and backup with VFP Mr. John <mr_johnmr@yahoo.com>
2008-08-27 17:19 ` Richard Broersma <richard.broersma@gmail.com>
2008-08-27 17:27 Re: Restore and backup with VFP Mr. John <mr_johnmr@yahoo.com>
2008-08-27 17:33 ` Richard Broersma <richard.broersma@gmail.com>
2008-08-27 17:43 Re: Restore and backup with VFP Mr. John <mr_johnmr@yahoo.com>
2008-08-27 17:48 ` Richard Broersma <richard.broersma@gmail.com>
2008-08-27 22:22 ` Adam M <gnuman1@gmail.com>
2008-08-27 17:59 Re: Restore and backup with VFP Mr. John <mr_johnmr@yahoo.com>
2008-08-27 18:30 ` Raymond O'Donnell <rod@iol.ie>
2008-08-27 19:11 Fw: Restore and backup with VFP Mr. John <mr_johnmr@yahoo.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox