1 Reply Latest reply on Nov 7, 2014 7:18 AM by philmodjunk

    Creating automatic backup - cannot find file



      Creating automatic backup - cannot find file



      I am having a small problem with creating an automatic backup file.  I have a script which creates a back up copy of my database.  When the script is run (by clicking a button on the database) FileMaker creates a copy of the current database file and inserts the date and time in the filename.  All this works perfectly as long as the last place I have visited on my computer is where I have asked the file to be saved. If for example after opening the database I have then opened a Word document or Excel spread sheet etc located in a different folder, later when I go back to FileMaker and try to run the backup script, I get an error message to say that the file cannot be found…

      This is okay if I create a backup as soon as I open FileMaker but I may wish to make updates later in the day and if I have to locate the file folder, I may as well create the back up manually.

      I'm saving the backup file to a shared drive not my local drive.

      Thanks for your help.

        • 1. Re: Creating automatic backup - cannot find file

          I suggest that you either post your script so that others can look at it and suggest changes or that you compare what you have set up to the example script in this thread: Saving Sequential Back Ups During Development (ignore the Install OnTimer part unless you want your backups to work on an automatic interval.)

          To post a script to the forum:

          1. You can upload a screen shot of your script by using the Upload an Image controls located just below Post a New Answer.
          3. You can print a script to a PDF, open the PDF and then select and copy the script as text from the opened PDF to your clipboard for pasting here. (with this approach, you can get multiple script steps on the same line, please edit the pasted text by inserting some returns to separate those steps.)
          5. If You have FileMaker Advanced, you can generate a database design report and copy the script as text from there.
          7. If you paste a text form of the script, you can use the Script Pretty box in the Known Bugs List database to paste a version that is single spaced and indented for a more professional and easier to read format.