Backing Up SOLIDWORKS PDM - Minimum Requirements

Article by GoEngineer on Mar 19, 2021

Whether it be due to a hard drive failure, a bad rollback, a ransomware attack, or a natural disaster, the need for data recovery will always strike, whether you’re ready or not. Here are some common questions you should be asking about your backups and data recovery plan when backing up SOLIDWORKS PDM.

What Type of Backups Do I Need?

A SOLIDWORKS PDM environment has three major components that work together. Each part is essential to the recovery of the system.

#1. PDM Database in SQL

This is the brain of the PDM system. It knows all the names, references, and metadata for all files. You can use SQL Management Studio to perform this backup. (For more information about performing this backup, refer to chapter 10 of the PDM installation guide: Backing Up and Restoring File Vaults). If you want to automate this type of backup, SOLIDWORKS PDM Professional/SQL Standard users can use the Maintenance Plan tools in SQL Management Studio to schedule these. SOLIDWORKS PDM Standard/SQL Express users will need to go with a third-party tool like this Microsoft KB solution.

#2. Archive Files Backup

This is the storage of the PDM system. It consists of all your files in a structure that is easy for the database to read (but impossible for anything else). This is simply a copy of the 16 Archive folders defined as the root folders of the archive server.

#3. Archive Settings Backup

This is the connection between the database and archive files. You use the Archive Server Configuration Tool to perform this backup. (For more information about performing this backup, refer to chapter 10 of the PDM installation guide: Backing Up and Restoring File Vaults).

How Often Should I Back Everything Up?

As a rule of thumb, we advise to have at least the following:

  1. A nightly backup of the PDM database from SQL
  2. A weekly full backup of the Archive Files
  3. A nightly differential backup of the Archive Files
  4. A nightly backup of the Archive Server Settings

An important point to keep in mind when scheduling backups is that timing is key:

  1. Take your daily backups after hours. Why? The backup could adversely affect the performance of the server while it is running.
  2. Take your database and archive backups at a relatively close time to capture the same amount of data. Generally, this is not a problem if you do it after hours.
  3. When recovering, make sure to use the database and archive backups from the same night. Mixing and matching will lead to errors and problems in the system.

Where Should I Back Everything Up?

One of the most devastating realizations after an incident leading to a need for data recovery is finding out that the backups were also destroyed in the same incident. While it might be okay to take nightly backups on the same hard drive to protect yourself against a user error or bad rollback, taking weekly, monthly, or quarterly backups to an offline or offsite location will help protect against the rare, but more detrimental incidents. Consider the following:

Backup to Another Drive

Oftentimes, the incident that leads to data recovery is the result of a hard drive failure. Having a secondary drive where backups reside will allow for an easy recovery if this happens.

Backup to Another Server Offsite

A natural disaster or more extreme hardware failure can turn a server and all the proprietary data into a very expensive doorstop. Having a recovery option offsite will allow you to recover even if the whole site is destroyed.

Backup off Network

Ransomware attacks are becoming more and more common. These attacks can hit your entire network and force you to either pay large sums of money to get your data back or start from scratch. Having a backup to an external drive, tape, or secure cloud service will keep your data accessible to you, even in the worst-case scenario.

I Take Snapshots of My Virtual Machine. I’m Fine, Right?

Taking a snapshot of the virtual machine that your SOLIDWORKS PDM Environment resides on is a great tool to recover within certain situations. However, just like any other recovery plan, it can have some major flaws.

SQL is a Live Database

While users are working in SOLIDWORKS PDM, they are constantly writing data to several temporary tables in the database. If you get a snapshot in the middle of a transaction, it might grab bad data that it can’t recover properly. This can lead to problems in the future.

Working with Snapshots and Virtual Machines requires Knowledge & Training

Purchasing a backup software or taking snapshots of a virtual machine is not the end of the line for a recovery plan, unfortunately. Setting up a backup software properly, knowing how to recover from the backup, and knowing what to do when a problem arises are all important and necessary to being successful with this software. 

All-or-Nothing Approach

With a snapshot, you are required to roll back or set up a whole machine with the snapshot, in order to recover. If a user needs a few files they rolled back by mistake, you are forced to choose between taking on a huge endeavor to recover them or having them redo the work.

Okay I’ve Got Everything, Now What?

You’ve gone through all this work to make sure you are prepared, but how do you know your backups are working as they should? The next step is to verify your backups. There are two parts to verifying the integrity of your backups:

  1. Check to make sure they are being written properly.
    1. Once you start your backup/recovery plan, check back in a day, two days, a week, and a month to ensure the backups are being written properly. Make sure the naming convention isn’t constantly overwriting the previous backup and that any cleaner service you set up is doing its job to not overwhelm your hard drive space with too many backups. Create a reminder to check in to the backups on a quarterly bases.
  2. Go through a trial disaster recovery in a test system.
    1. To guarantee your backups are functional, go through a trial run of a recovery every six months to a year. Set up a test machine to restore your database and archive on and make sure the data is good. This is especially important when relying on a third-party software to handle your backup needs.

I hope you found this guide for backing up SOLIDWORKS PDM helpful. Learn more about PDM by checking out the links below. 


How to Move Your SOLIDWORKS PDM Server Components

SOLIDWORKS PDM Variable Mapping Tips & Tricks: Mass Properties, File Properties, Model Dimensions, & More

How To Set Up Barcodes in SOLIDWORKS PDM Data Cards

SOLIDWORKS PDM Preview Tab Mismatch

Always Show SOLIDWORKS PDM Icon (Blueberry)



About GoEngineer

GoEngineer delivers software, technology and expertise that enable companies to unlock design innovation and deliver better products faster. With more than 35 years' experience and tens of thousands of customers in high tech, medical, machine design, energy and other industries, GoEngineer provides best-in-class design solutions from SOLIDWORKS CAD, Stratasys 3D printing, Creaform & Artec 3D scanning, CAMWorks, PLM, and more

View all posts by GoEngineer