Restore data from a backup

You can restore a database and related library files from a previous backup. You may need to do this if you're moving PDXpert to a new server or recovering from a computer failure. You may also want to restore a previous database if you're experimenting with configuration options or importing legacy data, and want to return to a previous configuration.

The restored data completely and permanently overwrites all data in the current database, as well as all library files. Consider whether you should back up the current database and library before replacing it with another.

Microsoft recommends restoring a SQL Server database from an internal fixed drive. The operation may fail – possibly without any warning – if you select a compressed, network-mapped, or external volume.

Do not restore a newer backup file into an older SQL Server instance. A Microsoft SQL Server database backup can only be restored into the same, or higher, SQL instance.

For example, SQL Server 2014 (version 12.0) can accept an 12.0 database, as well as upgrade an older SQL Server 2012 (11.0) database. It can't use a higher-level database backup from SQL Server 2016 (13.0).

Do not restore a newer backup file into an older PDXpert release. A backup can be restored only into the same, or higher, PDXpert release.

For example, the PDXpert server 11.0.30620.2 can accept a backup of 11.0.30620.2 and can upgrade an older release, such as 10.1.30033.2. The PDXpert server can't "downgrade" a higher-level backup from release 12.0.31408.4. Refer to PDXpert's release notes for further compatibility details.

Ensure that all users have closed their PDXpert client application.

To use the restored data, your software license key must permit use of the installed PDXpert release. A software license purchased as a subscription must be current. If your software license key is for a perpetual license, then the key must have a support expiration date after the installed PDXpert release date.

On the PDXpert Application Server window:

  1. Click on the Manage tab.

  2. If the database and file attachments were saved using the default backup format Database with Library (*.pdxz), then skip this step and go to the next step.

    If the database and file attachments were saved separately using the alternative backup format Database without Library (*.bak), then:

    1. On the PDXpert Server, click the Reset Database button to clear the previous database. See the Reset the database contents help topic.

    2. In Windows File Explorer, delete any content contained in the \Library subfolder of the data directory path (as shown on the Manage tab).

    3. Copy your saved library files into the empty data directory path's \Library subfolder.

      Ensure that the copied library files match the date and time of the database backup.

  3. In the System changes area, click the Restore From Backup... button to open the Restore From Backup dialog. Navigate to the location where your backup file is saved, select the correct backup file, and click the Open button to immediately load the backup file into the server. A new database index is created, and a large database may take a while to re-index.

    If the database was saved by an older release of PDXpert, then the database is automatically upgraded to the current schema. After upgrading, the database cannot be used with the older release.

  4. Verify that the restored system is accurate, consistent, and correct.

    • Accurate: The restored system — parts, documents, change forms, collections, etc. — contains exactly what you expect and is not, for example, an older backup.

    • Consistent: The database items refer to the matching set of library file attachments.

    • Correct: The right software license key is loaded, users can log into the client, and items can be searched, found and opened.

    1. Log into the PDXpert client application.

      Your PDXpert client may request a valid software license key that allows the installed PDXpert release to use the restored data.

    2. Wait until all items are indexed (Tools | Index Status...).

    3. Search for an item with a file attachment that was saved just before the backup. View or copy the attachment to confirm its content.

      If you can open the item record, but can't confirm its file attachment, then the library files have not been restored to the correct location or are inconsistent with the database.


Learn More
Help Guide Contents [PDF]