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.

Server Backup - What does it do?

Featured Replies

I am curious what exactly does the backup do?. Does it write the file in a contiguous format or just an exact copy?

Does it do any maintenance while writing such as compacting?

The reason I am asking is we had a problem file last night that wouldn't open after starting the service. I restored the file from the previous backup and that opened fine.

Is it a good practice to restore files from backups periodically or just do the file maintenance on them periodically (compact and optimize)? Is there a difference?

Any input would be appreciated.

I'm pretty sure it just makes an exact copy (no maintenance is done).

If you have concerns about a file, open the file offline and do a Save a Copy As (Compressed). This is safer than the file maintenance options available in the Advanced versions of FileMaker.

Very good point. The maintenance options [color:red]should never be used on a file that is suspected of having any damage to it at all.

Steven

  • Author

Thank you for your response - I was just curious if the backup did anything since the backup copy of the file was able to open with no problem. I did some reading and FM says do not compact on a file that gets written to often, Optimize can be done on any file. So I guess Save as Compressed is the prefereed method over Compact. Its a little confusing, below is the official FM help:

About File Maintenance

With the File Maintenance tools, available only with FileMaker Pro Advanced, you can improve the performance of your database files. [color:blue]You can use the Compact File tool to remove free disk space from a file, reducing the file size and streamlining data access.

(This seems to conflict with area highlighted in blue below)

Use the Optimize File tool to improve file access speed by moving logically related data closer together. Both tools reduce disk-head movement. Improvements will be especially noticeable when you are using large files and performing finds or sorts, or executing scripts that operate on all records.

With the File Maintenance tools you can:

combine partially full disk pages and eliminate gaps in the data

defragment a file to make the physical arrangement of data match the logical arrangement

cancel either option without corrupting the file or losing the maintenance work done up to that point

perform file maintenance while hosting the file

(This is a surprise to me, I wouldn't think this is advisable)

Both File Maintenance tools work on the database file itself, without creating another copy. [color:blue]You should only use the Compact File tool on databases that will not have significant amounts of data added to them, because compression can actually increase fragmentation when data is added. You can use the Optimize File tool at any time, even on databases that will have data added to them.

The File Maintenance tools are fully documented in the FileMaker Pro Advanced Development Guide included with FileMaker Pro Advanced. (I didn't get this since I downloaded, would like to get this document)

Sorry for the long post but I'm really trying to know the file maintenance options and what are the best practices.

Take a look at the Server tech Brief on the FMI web site:

http://www.filemaker.com/support/upgrade/techbriefs.html

Also take a look at the backUps White Paper on Wim Decorte's web site:

http://www.connectingdata.com/downloads.htm

Steven

Create an account or sign in to comment

Important Information

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

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.