Undo Rollback PDM Vault
SOLIDWORKS Forums
4 days ago

Hi guys.

 

We seem to be having a problem here at work with people rolling files back accidentally. I'm sure no one here has ever done this, but is there any way I can undo this?

 

Separate question but related: the same part keeps being rolled back. It seems this part is attached to some other assemblies in some way. How can I avoid this in the future?


Categories: Data Management, SOLIDWORKS PDM∕Enterprise PDM

Comments
Last comment By: Greg Johnson   Tue, 12 Dec 2017 13:49:14 GMT
Re: Undo Rollback PDM Vault

My understanding is when you roll back a document, the rolled back documents are destroyed so no way to get them back.

 

Where I work only a select few have roll back rights to reduce the number of these "mistakes".  Your work might want to consider this too.

By: Solid Air  Thu, 07 Dec 2017 13:06:21 GMT
Re: Undo Rollback PDM Vault

Jim Panfil wrote:

 

Hi guys.

 

We seem to be having a problem here at work with people rolling files back accidentally. I'm sure no one here has ever done this, but is there any way I can undo this?

 

Separate question but related: the same part keeps being rolled back. It seems this part is attached to some other assemblies in some way. How can I avoid this in the future?

 

Rolling back a file should be an Admin tool only. I can't think of any reason that everyone should have access to a tool like that. It makes the vault unreliable in the event that the part being rolled back causes reference issues with assemblies and files of other users. The same goes for delete in my opinion. A standard user should only be able to create, check-in, check-out files, and be able to send them on a workflow.

 

Edit:

I don't believe there's a way to undo a rollback as it's a permanent change back to the database.

 

As for your second question, if parts are getting rolled back that are related to other parts then the user doing the roll back isn't looking closely at the PDM dialog box with checked selections of related parts before clicking okay. This is another reason that everyone shouldn't have access to a tool that removes progress to that degree.

By: Alex Burnett  Thu, 07 Dec 2017 13:30:10 GMT
Re: Undo Rollback PDM Vault

OK that sucks but at least I know how to proceed. Thanks for the responses.

 

I was thinking of another approach. Do you guys think it would work if I pulled the part from our archives from before it was rolled back and replace the rolled back file with the back up?

By: Jim Panfil  Mon, 11 Dec 2017 17:55:11 GMT
Re: Undo Rollback PDM Vault

I do not understand what you are asking in your second sentence.

 

What we kicked around was instead of rolling back, we pull a copy of version we want to roll back to then save it as the latest version with what version it came from in the comments field.

By: Solid Air  Mon, 11 Dec 2017 20:53:08 GMT
Re: Undo Rollback PDM Vault

I'm attempting to restore a accidental rollback myself. The first thing that we did was remove the rollback permission for all our users. I was successful creating a SQL report of files and versions that need to be restored. This report is sorted by the date the version was created. I'm currently validating this report to make sure it is correct. Now the tough part is to restore each version of the file in order (oldest go back in the vault first) and transition each file at the right version. I have about 2500 versions of files to restore. This will take some time to accomplish.

By: Greg Johnson  Mon, 11 Dec 2017 22:18:38 GMT
Re: Undo Rollback PDM Vault

What I'm talking about is essentially deleting the file from the vault and replacing it with a back up file that was saved at a time before the roll back.

By: Jim Panfil  Tue, 12 Dec 2017 12:28:17 GMT
Re: Undo Rollback PDM Vault

Using this method would not restore every version of the files that were rolled back.

By: Greg Johnson  Tue, 12 Dec 2017 13:49:14 GMT
You are not authorized to view this page No results found! Suggestions: Check spelling, try a different search, or browse topics below.