Formatta E-Forms Manager Database Backup

When your Formatta E-Forms Manager system is running under the default data repository configuration (using the built-in database engine for its data repository as opposed to an external Oracle or SQL Server database), its Administration Console provides you with a user interface that allows you to create a backup routine for the Formatta E-Forms Manager data files.  Once defined, this backup routine can be automatically run on a scheduled basis, or you may run it manually.  This backup routine allows the backup of the Formatta E-Forms Manager database to be performed without requiring you to stop the Formatta E-Forms Manager and its database processes.  In essence, using this backup utility runs a hot backup of the Formatta E-Forms Manager database, saving a copy of the database files to a directory that you specify.

 

Once you have a regular backup routine in place, it is always a good idea to copy the Formatta E-Forms Manager database backup files to a location off of your Formatta E-Forms Manager server, so that you can restore Formatta E-Forms Manager to a prior state in the event of a system failure.

Overview

Under the default Data Repository configuration, Formatta E-Forms Manager relies on an internally-managed database that stores all of its configuration settings, form catalog, and submitted form history.  There are two data files for this database that reside with your Formatta E-Forms Manager installation, called fsbs.db and fsbs.log.  By default, these files are located in the C:\Program Files\Formatta 7.0\EFM\asa\win32\data directory.  This location may vary depending on where Formatta E-Forms Manager was installed.  Both of these files contain data crucial to the proper operation of your Formatta E-Forms Manager system and should be backed up regularly.

 

Note: This section only applies to systems that are using the default Data Repository Configuration settings, in which Formatta E-Forms Manager uses the included database engine for its data repository.  For configurations that involve your organization's own Oracle or SQL Server instance, you should make use of the utilities provided with those databases for performing backups.

 

There are two ways to back up the Formatta E-Forms Manager database:

 

 

 

Items to Consider Before Configuring Database Backup

Regardless of how you want to perform backups, there are several things you should make sure of when configuring or running backups of the Formatta E-Forms Manager database:

 

 

 

 

 

 

Upgrading from a Previous Formatta E-Forms Manager Version

Versions of Formatta E-Forms Manager prior to 7.1.2 required automatic database backups to be scheduled outside of Formatta E-Forms Manager using a command-line script and the Windows Task Scheduler.  This means of scheduling database backups is no longer supported as of version 7.1.2.  So if you have upgraded your Formatta E-Forms Manager from a pre-7.1.2 version and you have an existing scheduled task for this purpose, disable the existing task and create a new scheduled task within Formatta E-Forms Manager using the steps below.

 

Navigating to the Database Backup Configuration Screen

Note: This screen will be unavailable on systems that have been configured to use an Oracle or SQL Server database for housing the Data Repository.  

 

Select DB Backup from the Administration tab. This will open a screen that allows you to view and configure backup settings for the Formatta E-Forms Manager database.

 

Viewing Backup Configuration

The top section of the screen shows existing backup routine settings, including the destination folder for backup files, basic information on the routine's schedule, and whether or not the routine is enabled to run automatically.

 

Clicking the Edit button in this area opens a screen that allows you to add or change settings for the database backup routine.

 

Clicking the Run Backup Now button in this area allows you to begin execution of the configured backup routine at any time.  Once the routine is started, this button will be disabled until the routine completes.  The routine may take several seconds to several minutes, depending on the size of the Formatta E-Forms Manager database.

 

The lower section of the screen will show the status of the routine's most recent execution.  Details include the date and time the backup was last run, completion status, and error message (if any).  Clicking the View Log button in this area will open a window showing a history of the routine's last 25 executions.

 

 

Changing Backup Configuration

To add or change backup routine settings, click the Edit button.  This will open a window that allows you to modify and save backup settings.

 

On this screen, you can enter the following information:

 

 

 

 

 

Restoring from a Prior Backup

In the event of a hard drive crash or other type of system malfunction that renders your Formatta E-Forms Manager server unusable, it should be possible to restore your Formatta E-Forms Manager to its last backed-up state by using previously backed-up database files.  All of the data specific to your installation (licensing, users, configurations, etc.) as well as the form catalog itself are stored in the Formatta E-Forms Manager database.  This means that the process of rebuilding and restoring Formatta E-Forms Manager back to a prior state is simply a matter of re-installing Formatta E-Forms Manager, then replacing the database files from the clean installation with your backed-up files.  Detailed steps follow:

 

If, due to a system crash or other type of file system corruption, a new installation of Formatta E-Forms Manager is required:

 

  1. Install Formatta E-Forms Manager, making sure that the version you install is the same as the version you had installed previously.

  2. Once installation is complete, stop both Formatta E-Forms Manager services.  See Starting and Stopping Services for more information.

  3. Open Windows Explorer and browse to the directory C:\Program Files\Formatta 7.0\EFM\asa\win32\data.  (If you installed Formatta E-Forms Manager into a directory other that C:\Program Files\Formatta 7.0 then you will instead find this directory relative to your installation).

  4. Delete the two files in this directory called fsbs.db and fsbs.log.

  5. Replace the deleted files with your previous backup versions of fsbs.db and fsbs.log.

  6. Start the Formatta E-Forms Manager services.  See Starting and Stopping Services for more information.

 

If you simply need to restore a working Formatta E-Forms Manager instance to a prior state without re-installing the Formatta E-Forms Manager software, follow steps 2 through 6 above.

 

Once these steps are complete, your Formatta E-Forms Manager application should work as it did at the time the last successful backup was run.