Normal Topic Environment Variables Question (Read 481 times)
FlipGilbert
Full Member
***
Offline


Running Ver 2.6.4

Posts: 236
Location: Sandy Eggo
Joined: Mar 8th, 2005
Environment Variables Question
Nov 29th, 2007 at 4:24pm
Print Post Print Post  
My Question is,
I have a command button on a menu form in my application that will back up the application. I understand the I need to make an Environment variable with the SESAME_ROOTDIRS_PATH on each client machine to recognize the drive to back up on a USB key drive on that machine.  I have read the Sesame Environment Variables and was unsure what put in the "Variable value" field of the New system variable.

It works great on the computer that is the client/server!

thank you all for your support

Flip Gilbert
Ver 2.0.3
  

It's not what a man says that matters or how he says it, but what he does and how he does it.
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Environment Variables Question
Reply #1 - Nov 29th, 2007 at 4:45pm
Print Post Print Post  
Hello Flip,

If you are running Client/Server then the Open Application and Backup Application windows(Amongst others) will use the Rootdirs that is on the Server computer. So they will be able to write to the Key drive that is on that Server computer.

You can not backup an application to a drive on the client System unless it is mapped from the Server system.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
FlipGilbert
Full Member
***
Offline


Running Ver 2.6.4

Posts: 236
Location: Sandy Eggo
Joined: Mar 8th, 2005
Re: Environment Variables Question
Reply #2 - Nov 30th, 2007 at 5:57pm
Print Post Print Post  
Thank you Ray,
That works well, Painfully slow compared to backing up at the server but less than running up and down the stairs.
I cant thank you enough for your support.

Flip
  

It's not what a man says that matters or how he says it, but what he does and how he does it.
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Environment Variables Question
Reply #3 - Nov 30th, 2007 at 6:05pm
Print Post Print Post  
Hello Flip,

Want a faster way?

Backup to the Server Hard drive into one Directory such as C:\Sesame\BackupFiles
On the Client Computer, Make a Batch file that moves the files from the C:\Sesame\BackupFiles directory on the Server computer to the local Flash drive.

Your command button can use @Shell to run the batch file so it is still a one click process but it's faster. Way Faster.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged