Skip 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.

Backup Script

Featured Replies

I want to create a backup script, and now the one below loops continuously until the esc button is clicked. I want the script to save each time the database is opened.

Clear[select]

Save a Copy as["Expense Report.fp5 Copy.fp7";copy]

Perform Script["Backup"]

What does the script need to produce a reminder to backup to external media in a dialog box each time the database is closed?

What kind of script allows the backup to occur for multi users?

Thank you

You have server. Why dont you just use the native backup in it?

If the file is hosted in FM Server then the Save as Copy As command is disabled.

Regarding your initial question, read up on the Show Custom Dialog script step, and the Get( LastMessageChoice ) function.

  • Author

I read about the show custom dialog box.

and the functions and this is helpful.

How can the script backup automatically after a change is made to a field, and stop backing up before the dialog box appears?

The get(flag) function ends the script?

I still need to manage the script so that it runs automatically and stops.

Thank you

What is the purpose of this? You have a hosted solution. As Vaughn pointed out, you can not make copies of it from the client when it is being served.

You should have your server scripted so that it makes backups at certain times. Then you can copy those copies to external media if you wish.

I have no idea why you want to start backing up data as soon as a user commits a record.

If you are looking to have data redundency, just go with a RAID configuration.

If you want to track changes made and be able to reverse them, then you probably need a "audit trail" system which tracks changes.

There are some samples of this in the Forums.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.