Hide Table of Contents

Restoring an Incorrectly Upgraded Version from a Backup

If an upgraded version of a file is incorrect, you can use the backup file to restore the original content of the file.

  1. In the local file vault view, determine the name of the file to find.
  2. Open Microsoft SQL Server Management Studio and click Connect.
  3. Expand Databases and select the vault containing the file you want to restore.
  4. Click New Query.
  5. In the right pane, type a query in the following format:

    select * from documents
    where filename like 'filename.ext'
    For example:
    select * from documents
    where filename like 'speaker_frame.sldprt'

  6. Click Execute.

    Record the files DocumentID, which is listed in the Results tab.

  7. Exit the SQl Server Management Studio.
  8. Use a calculator to convert the DocumentID to hexadecimal format.
  9. In an Explorer window, navigate to install_dir\Program Files\SOLIDWORKS Enterprise PDM\Data\vault_name.
  10. Expand the vault archive that matches the last digit of the hexadecimal number.

    For example, if the hexadecimal number is 3B, expand the folder labeled B.

  11. Expand the folder that matches the hexadecimal number.
  12. Rename or delete the version of the file you want to restore.

    For example, rename 00000002.sldprt to 00000002.backup.

  13. Rename the appropriate bak_ file to the original file name.

    For example, rename bak_0_00000002.sldprt to 00000002.sldprt.

  14. Exit Microsoft SQL Server Management Studio.


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Restoring an Incorrectly Upgraded Version from a Backup
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS PDM 2014 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.