Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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

Posted

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

Posted

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.

Posted

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

Posted

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.

Posted

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.

This topic is 5871 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.