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.

Restoring a database from backup

Featured Replies

I am new to FMP. I have been working with a client that has FMP 5.5. The files are being hosted on a Mac and the clients are Windows XP. The previous tech did all the installs. I am learning as I go. I have scheduled daily backups of all database and that is working great. My questions is how do I restore a database from backup? I have looked through all the help files and searched online but only could find information about the recovery of a corupt database. If anybody can provide assistance I would greatly apperciate it. Customer needs to have a database restored due to accidentally deleting records. Thanks

I think you're talking about 2 separate issues:

1- restoring from a backup

2- recovery of a corrupt database

#1 - restore goes pretty much like this:

- you close the hosted files on the server (using the remote admin plugin from a client or the local admin app on the server)

- you shut down FMS after you've confirmed that all the hosted files are closed

- you replace the bad file with one from the backup

- start FMS again: it will automatically start hosting the files again

# 2: recovery is a last ditch measure to get data out of a corrupted file. Once a file is corrupted it should never be used again.

After you recover a damaged file, export the data and delete the damaged file. Then import the data into a good backup.

Now the clincher is knowing what a good backup is. So keep lots of backup sets around. A file doesn't get damaged just like that, usually there are deployment issues leading up to it (flaky network, OS-level file sharing,...), so that needs to be looked into.

  • Author

Thank you for the response and clarification. I was able to restore the database from backup by just copying the file after the server was stopped. Thanks. I was headed in that direction but was not sure if that was the proper procedure for restoring a database in FMP. I have another problem now in that one of the databases that is located in the same directory as all other database does not show up in the list of available databases to connect from the client. Any suggestions? I am going to post another topic but since you have helped I thought I would ask. Thanks again.

  • 3 weeks later...

Check the event log to see what FMS tells you about the file. It'll probably say that the file is damaged...

And if the file does report it is damaged, do not Recover it as a first step. With the Server stopped, open the file in FileMaker Pro and save a copy as compressed. Also see FileMaker Tech Info # 5594 for important information.

Steven

  • 2 weeks later...

Steven, it is my experience that damage files cannot be compressed. As a matter of fact, I think a failure to compress is one of the first signs that a file has some damage, usually too little to show in standard usage of the file.

Ron

Ron, I've had 'Save a Copy as Compressed' work perfectly fine on badly damaged files. I believe there are too many variables to trust that a file is fine just because compression works on it. I don't believe that's what you were saying ... but I wanted to clarify in case someone though a successful compression meant their file was fine because it doesn't. :wink2:

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.