Unix Technical Forum

Re: how to create backup copies

This is a discussion on Re: how to create backup copies within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> > -----Original Message----- > From: pgadmin-support-owner@postgresql.org > [mailto gadmin-support-owner@postgresql.org] On Behalf Of Andrus > Sent: 13 April 2006 10:28 ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:24 PM
Dave Page
 
Posts: n/a
Default Re: how to create backup copies



> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailtogadmin-support-owner@postgresql.org] On Behalf Of Andrus
> Sent: 13 April 2006 10:28
> To: pgadmin-support@postgresql.org
> Subject: Re: [pgadmin-support] how to create backup copies
>
> >> Couldn't execute script
> >> C:\DOCUME~1\postgres\LOCAL~1\Temp\pgaD591.tmp\1_1. bat

> >
> > Try to run CMD explicitely.

>
> I changed definition window to
>
> cmd /C c:\mydir\mybackup.bat
>
> but error message remains the same.
>
> pgagent tries to execute 1_1.bat file !


That's normal - the script you enter in pgAdmin is written to the
temporary batch file at runtime and executed. That's required to allow
you to target scripts at any agent host.

So anyway, does C:\DOCUME~1\postgres\LOCAL~1\Temp\pgaD591.tmp\1_1. bat
exist, and if so what's in it?

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 08:24 PM
Andrus
 
Posts: n/a
Default Re: how to create backup copies

>> pgagent tries to execute 1_1.bat file !
>
> That's normal - the script you enter in pgAdmin is written to the
> temporary batch file at runtime and executed. That's required to allow
> you to target scripts at any agent host.
>
> So anyway, does C:\DOCUME~1\postgres\LOCAL~1\Temp\pgaD591.tmp\1_1. bat
> exist, and if so what's in it?


This directory does not exist.
Only C:\DOCUME~1\postgres\LOCAL~1\Temp directory exists.

I verified, user postgres has Full Control rights to C:\DOCUME~1\postgres
directory.

Andrus.


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 10:09 AM.


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