Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread Backup Job - Path doesn't exist.
Sat, Oct 6 2018 6:17 AMPermanent Link

Ian Branch

Avatar




Attachments: Screenshot_2.jpg Screenshot_3.jpg
Sat, Oct 6 2018 10:08 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Ian


My guess is that somewhere along the line you've set the temp - I'll bet your dev machine has that folder. I make sure that I'm using the right temp path by having

TfREngine.TempTablesPath := GetWindowsTempPath;

in my datamodules OnCreate event.

To save you asking about it

function GetWindowsTempPath: string;
var
TempPathName: array[0..250] of Char;
begin
try
 if GetTempPath(250, TempPathName) <> 0
  then Result := TempPathName
 else begin
  ForceDirectories('C:\Temp');
  Result := 'C:\Temp';
 end;
except
 ForceDirectories('C:\Temp');
 Result := 'C:\Temp';
end;
end;

Roy Lambert
Sat, Oct 6 2018 5:13 PMPermanent Link

Ian Branch

Avatar

Hi Roy,
   The above is all on the Customer's Server.  I have tested and proved on my Dev machanine and was trying to implement
it on te Customer's server when this issue came up.
   All the work so far has been with the Server, EDBSrvr & EDBMgr.
   So the apparent Temp Path it would seem is what EDBMgr has picked up and I can't see anywhere to change it.  If, in
fact, I can..

Regards,
Ian
Sat, Oct 6 2018 8:32 PMPermanent Link

Raul

Team Elevate Team Elevate

On 10/6/2018 6:17 AM, Ian Branch wrote:
>    Trying to set up a Job in the Server.
>    I created a Remote session to the server in Manager however when I try to connect to it I get the error in the
> picture. Frown
>    The Server is Win 2012 R2.
>    The EDBSrvr is running as a service.
>    If I look at the EDBMgr Properties I see the same path.  Other picture.
>    I think this is a windows issue rather than an EDB.
>
>    
>    Thoughts/ suggestions appreciated.

Unless EDB server is running under "ijbranch" user account the store
path points to a user folder which might simply be inaccessible.

In general when setting up any paths or such for EDB server you need to
consider relative paths on the server and also what account the EDB
server runs under.

I'd create a new folder structure from root of C or such (ie.. C:\EDB
and then C:\EDB\Stores\<store> etc) and set permissions manually so
there is no chance of path being user specific and maybe not accessible
once you run EDB server as service (vs interactively during your login
session)

Raul
Sun, Oct 7 2018 7:49 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Ian


You have two choices - edit the servers ini file or start the server as a normal application so that you can edit the options.

The ini file on my development machine is C:\ProgramData\Elevate Software\ElevateDB Server\edbsrvr.ini - you may need to hunt on your customers.

If you start the server as a normal application you can right click and select restore. Click stop and you then have an option to edit settings.

Roy Lambert
Sun, Oct 7 2018 4:43 PMPermanent Link

Ian Branch

Avatar

Hi Team,
   Thank you all for your input.
   On a whim I logged in as the Server PC Administratot rather than as me with Administration rights.
   I had none of the issues setting it up I experienced under my log in.  It all workd/works as desired now.
   The first unofficial backup by the edbsrvr Job happened at 0530 this morning.
   I will monitor it for a few days before releasing it formally for the Customer.
   I should probably do a small app now to allow the Customer to implement his own timetable.
Regards & Tks again,
Ian
Tue, Oct 9 2018 1:56 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ian,

This means that your store has the wrong path.  How are you creating the stores that you're using for the backups ?  If it's part of your application installation process, then you need to make sure that when you create stores, that the paths used with the stores are valid from the perspective of the EDB Server, the user account it is running under, and the machine that it is running on (in case you are using mapped drives).

Tim Young
Elevate Software
www.elevatesoft.com
Image