Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Pause vs Stop

Featured Replies

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.

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

  • Author

Anybody have an example of a script using "PAUSE" and "RESUME"?

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

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.

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

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?

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.