SOLIDWORKS PDM Standard is a great data management tool included with SOLIDWORKS Professional and SOLIDWORKS Premium. However, it is built on an SQL Express database, which unfortunately means there are no automated maintenance plans in SQL Server Management Studio. This makes automating the SQL backup procedure more difficult, but it’s absolutely still possible, and you even have a few different options to suit your needs.
Note: GoEngineer offers these solutions as-is as a courtesy to our customers, but our support team is unable to assist with implementing, configuring, or troubleshooting automated SQL Express backups.
First, we need to clarify some assumptions. The information below assumes you have SQL Express, SQL Server Management Studio, and PDM Standard already installed on a server. If you need assistance installing the software, please feel free to contact our services team for information. If you recently completed a PDM Jumpstart with GoEngineer, all the necessary PDM components have been installed as a part of your services.
Even if you used GoEngineer’s Jumpstart services for PDM Standard implementation, GoEngineer is not directly responsible for your backups and is not specifically recommending any of the methods below. It is your company’s responsibility to look over the information and decide the best course of action for your team.
There are various utilities on the internet to accomplish backups, including a few paid and free utilities for backing up SQL Express. Different tools will have different levels of capability, including local vs offsite/cloud backups, success and failure notifications, and historical retention and clean-up utilities.
Note: GoEngineer does not specifically recommend these products and cannot guarantee their efficacy. These utilities are third-party products, and they are provided for information purposes only. Please do your own research before implementing any third-party software in your environments.
Some options we’re aware of are shared below, but this is far from an exhaustive list, and we recommend looking at various options to see what you like best.
This method uses a slightly modified version of a script provided directly from Microsoft (KB2019698). It’s a single Windows batch file containing SQL commands that create the database backup file. It will back up all databases (including system databases) found in the specified SQL instance. Variables are used to set instance\database name, backup file location\name, script location, and the number of backups to keep. The file can be run manually, or it can be automated using Windows Task Scheduler.
Prerequisites:
Batch File Text:
::Specify Folder Location For SQL Database Backups
set BACKUPPATH=c:\SQL Backup
::Specify How Many Days Of Backups To Keep
set numbackups=7
sqlcmd -S .\SQLINSTANCENAME -E -Q"EXEC sp_BackupDatabases @backupLocation='%BACKUPPATH%\', @backupType=F"
forfiles /P "%BACKUPPATH%" /S /M *.BAK /D -%numbackups% /C "cmd /c del @PATH"
You’ll then take the batch file you created and import it into Windows Task Scheduler to automate it.
Once you’ve configured the task, it should then run based on the schedule you set. Always be sure to check periodically whether the files are being created properly by going to check the output location you specified after the scheduled run time. If GoEngineer is your VAR, you can always reach out to Technical Support if you have questions or require other assistance!
SOLIDWORKS PDM Professional Automated SQL Backups
SOLIDWORKS PDM 2025 - What's New
How to Install the SOLIDWORKS PDM Server
Configuration Properties in SOLIDWORKS PDM Data Cards
How to Create Dynamic Lists in SOLIDWORKS PDM Standard Data Cards
About Rowan Gray
Rowan Gray is a Technical Support Team Lead at GoEngineer with a specialty in SOLIDWORKS PDM and related data/lifecycle management. They have been with GoEngineer since 2020, and have a strong IT background that helps them more fully support customers with whatever issues may arise in their PDM environment. In their free time they enjoy playing video games, crocheting, and spoiling their pets.
Get our wide array of technical resources delivered right to your inbox.
Unsubscribe at any time.