Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7983 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I know what "STOP FM" does, but what does "PAUSE FM" do exactly? The documentation doesn't say. I am re-writing the scripts to do backups and my predecessor had it stop FM server, copy the files, and then start it again. I read that I can just PAUSE FM but it doesn't say what that does or what the advantages are.

Posted

To the best of my understanding, PAUSE does exactly what it timplies, it pauses the server. This means no reading or writing to it for the duration of the pause. The advantage to this over STOP is that it can be done with clients still connected. Whereas, in order to stop FM server, you cannot have any client connections.

HTH-

Courtney

Posted

Hi Don,

Here's the script that I use:

echo off

rem Copy FileMaker Pro Database to Backup directory

c:fmserverfmserver.exe pause

xcopy c:fmserverdata*.fp3 /s c:fmbackup /y

c:fmserverfmserver.exe resume

This assumes that you are on a Windows OS -- for a Mac I have no idea. You can have you backup software comes along at anytime after this is finished and backup the copies. In the example above: c:fmbackup*.fp3

Good luck,

-Ted

Posted

Ted: we're talking FMP scripts, not DOS.

Don: Make a new blank layout in your db and put a button on it that just performs the Pause/Resume Script step.

Using Scriptmaker, make this script:

Allow User Abort [off]

Beep

Pause/Resume Script

Beep

Change to the layout with the button and run the script. FMP will beep then wait... click the button and FMP will beep again and finish the script.

It's simple but it demonstrates the principle.

Posted

Hmmmmm... I never would have thought of using an FMP script to aid in backing up the database. I'm on 3.0 and it doesn't have such a thing. Why would one choose to use an FMP script to pause the DB? You can't run it "lights out" without a plugin right? Just curious.

-Ted

Posted

Okay - you guys are confusing me! Don, are you talking about STOP and PAUSE FMSERVER in DOS scripts, which can be used for backing up your db (as me and Ted were)? Or are you talking about PAUSE/RESUME script, as Vaughn is?

This topic is 7983 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.