User manual
Table Of Contents
- Preface Learning how to use FileMakerPro
- Chapter 1 FileMaker Pro basics
- Chapter 2 Adding and viewing data
- Chapter 3 Finding and sorting information
- Finding records
- Finding text and characters
- Finding exact matches in text fields
- Finding numbers, dates, and times
- Finding ranges of information
- Finding data in related fields
- Finding records that match multiple criteria
- Finding empty or non-empty fields
- Finding duplicates
- Finding all records except those matching criteria
- Hiding records from a found set and viewing hidden records
- Viewing, repeating, or changing the last find
- Sorting records
- Finding records
- Chapter 4 Previewing and printing information
- Chapter 5 Creating a database
- Chapter 6 Creating and managing layouts and reports
- Chapter 7 Customizing layouts
- Chapter 8 Working with related files
- Chapter 9 Protecting databases with passwords and groups
- Chapter 10 Creating scripts to automate tasks
- About scripts
- Creating scripts: an overview
- About ScriptMaker steps
- Control script steps
- Navigation script steps
- Sort, find, and print script steps
- Editing script steps
- Fields script steps
- Records script steps
- Windows script steps
- Files script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Changing scripts
- Duplicating, renaming, or deleting scripts
- Importing scripts
- Listing scripts in the Scripts menu
- Using buttons with scripts
- Example of a ScriptMaker script
- Chapter 11 Using formulas and functions
- Chapter 12 Importing and exporting data
- Chapter 13 Sharing databases on a network
- Chapter 14 Publishing databases on the Web
- About publishing databases on the Web
- How users work with databases on the Web
- What you need to publish databasesontheWeb
- Publishing databases on the Web: an overview
- Enabling FileMaker Pro Web Companion
- Configuring FileMaker Pro WebCompanion
- Enabling Web Companion sharing
- Setting up browser views
- Testing your published database
- About browser views for web publishing
- Chapter 15 Using ODBC with FileMakerPro
- Appendix A Customizing FileMaker Pro
- Appendix B Backing up and recovering files
- Appendix C FileMaker Pro Quick Reference (Windows)
- Appendix D FileMaker Pro Quick Reference (Mac OS)
- Index
Appendix B
Backing up and recovering files
Power failures, hardware problems, and other factors can damage a
FileMaker Pro file. While the recover feature of FileMaker Pro may
be able to salvage your damaged file, it is strongly recommended that
you back up your important FileMaker Pro files on a regular basis.
Consistent and properly executed backups are the best protection
against damaged or corrupted databases.
This appendix describes:
1 why regular backups are important
1 how to automate database backups with FileMaker Pro scripting
1 some reasons why files may become corrupt
1 how to recover a FileMaker Pro database
Backing up files
Routine backups are imperative for any document stored on a
computer. Magnetic media has a sometimes transitory nature, and is
susceptible to a variety of problems. Extreme heat, cold, sunlight,
and the presence of electric and magnetic fields can all contribute to
the failure of magnetic storage media.
Keep in mind that it is easier to back up a database than it is to
recreate it. Whether you should be backing up every day, several
times a week, or less frequently is usually determined by the amount
of data you are adding to your database(s), and how difficult it would
be to recreate your files in the event they become corrupt.
A strong backup strategy is one that employs multiple media and backs
up on a consistent schedule. The multiple copies you create by backing
up your data to different media afford you some protection against the
failure of a single hard disk, removable disk, tape, or other media.
In its simplest form, backing up means copying your file(s) to
another disk for safe keeping. As your files become larger or more
numerous, you might need to use a third-party program to do a
proper backup.
A good third-party backup program should provide multiple copies
of a database as sources for restoration. A scheme involving rotating
backups can accomplish this. Typically, this method involves
separate backup copies over no less than a two-week rotation. The
file is backed up to a set on day one, a new set on day two, until ten
sets of backups exist (assuming a five-day work week). On the
eleventh day, the first set is reused. This type of rotation ensures that
a lurking problem will not spoil your chances of a complete file
restoration.
For very important files, it’s a good idea to store backups at an off-
site location. Fires, earthquakes, and other disasters can and do
occur, and there is added safety in securing copies of your vital files
off-site.
Using a backup script
You can use the following script to save automated backup copies of
a FileMaker Pro 5 or later database.
This script saves a copy of your database on the fifth close and every
fifth close thereafter. To make the script work, you will need to
define a number field called Count Field. You should define this
script in all solution files that require backups.
1. Choose Scripts menu > ScriptMaker.
2. For script name, type Backup.
3. Click Create.