bostontea Posted October 27, 2008 Posted October 27, 2008 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
mr_vodka Posted October 27, 2008 Posted October 27, 2008 You have server. Why dont you just use the native backup in it?
Vaughan Posted October 27, 2008 Posted October 27, 2008 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.
bostontea Posted October 28, 2008 Author Posted October 28, 2008 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
mr_vodka Posted October 28, 2008 Posted October 28, 2008 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.
Vaughan Posted October 28, 2008 Posted October 28, 2008 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now