Cancel
Showing results for 
Search instead for 
Did you mean: 

Solid Edge backup not working as expected

Valued Contributor
Valued Contributor

I have not been able to get backup to work for a long time.

All it saves is the CFG files, and these seem to be hit and miss, maybe one a day or similar. Occasionly a draft file.

Never really worried about it as I was mostly on my own as far as production SE user, AutoCAD was King here. Only a couple of times wished it was working. Now I have about 15 relatively new users and it would be great to have.

 

Today one of my better users had a PC crash today which corrupted a file with about 24 hours work in it. IT has backups, but they are offsite. Not a quick retriaval turnaround.

 

Any suggestions?

 

ST9 MP12

I have Save option set to:

Automatically preserve documents

Craeting Uniquely named backup copies of unsaved documents every 60 minutes

Backup Models

Backup Drafts

 

File location is set to C:\sebackup, SE can obviously write to directory due to CFG files in there. 

 

Thanks,

Gary Dinges | Mechanical Design Engineer II | Probes & New Product Development
Emerson Commercial & Residential Solutions | Therm-O-Disc, Inc.| 1320 South Main Street | Mansfield | OH | 44907 | USA
T +1 419 525 8554

gary.dinges@emerson.com

2 REPLIES

Re: Solid Edge backup not working as expected

Siemens Phenom Siemens Phenom
Siemens Phenom

Gary,


This is currently working as designed.  You have a misguided expectation for how the "Automatically preserve documents" option actually works.

 

The option "Creating uniquely named backup copies of unsaved documents every X minutes" is confusing as this appears to imply that a new backup copy of the file should be saved every X minutes with a unique filename every time on the X minute save.  However this is not what this option really means.  What this option really means is that it will create a single file of a unique name in the specified folder location and then continually save to this one file name every X minutes overwriting the previous version of the backup file.

 

The reason we create a unique filename is that if you have two model files open within in the same Solid Edge session i.e. you have two geometrically different model1.par files in different folders open within the same Solid Edge session.  It would be impossible for the automatic backup copies to write both of these same named but geometrically different model1.par files to the same backup folder as they would be continuously overwriting each other's backup up file copy.  Therefore in order to work around this potential file name collision we assign each working file its own unique backup filename within the common backup folder location. 

 

Furthermore if we did create a new unique filename with every backup save on the X minute e.g. model1_60min_save.par, model1_120min_save.par, etc. we would have the potential to quickly fill up the hard drive with multiple backups of the same file then resulting in crashing both Solid Edge and the workstation because of disk full issues.  Therefore this is definitely an undesirable affect that we intentionally avoid.

 

Further, the first backup file is not made until after the Solid Edge file is saved at least one time.  If you open the Solid Edge file, make various geometry changes, but have not saved the file the first time after initially opening, the file is not backed up as the original geometry is still available in the original file if the changes are not saved.  Once the file is saved, then the backup timer is then started, and backups are then created from that point.

 

Furthermore the reason why you do not see a backup file actually created every X minutes is that we attempt to apply some intelligence to the backup before saving.  If there have been no geometry changes made to the file in X minutes since the last save we do not automatically save another backup copy of the file overwriting the same already uniquely assigned backup file.  We will only save every X minutes if there have been physical geometry changes made during that time.  Therefore simply setting this option, saving the working file and then waiting the X minutes for the next backup copy to be saved will not work as there are no geometry changes to backup.  This is by design to reduce the amount of times we have to track and save out the backup file.  There is no point saving a backup file every X minutes if Solid Edge has been sitting idle and no geometrical changes have been made to the file.  Otherwise you could potentially lose your last geometrical changes in the backup file i.e. I save my working file, make some geometry changes and then after X minutes my backup file is saved capturing the model in different geometrical state.  I then go for a coffee break and Solid Edge is sitting idle for another X minutes.  You then do not want Solid Edge automatically making another backup copy of no geometry changes after X minutes overwriting the previous backup containing geometry changes.  This is why you do not automatically see a backup copy created every X minutes.

 

While working in the file and making changes, whenever you next save the file, the backup file is then automatically removed and the timer reset.  As explained above, until a geometry change is then detected a new backup file with then be created.

 

Once you cleanly exit the working file the associated backup file is automatically removed.  If you were to intentionally crash Solid Edge by terminating the edge.exe process in Task Manager instead of cleanly exiting the file, then your backup file would still exist, assuming all the above outlined conditions have been met i.e. saving Solid Edge the first time to start the timer and subsequent geometric changes made.  This then would allow you to recover "lost" work, which is your expectation.

 

So, to your specific scenario,  If you have enabled "Automatic Document Preservation" for every 60 minutes, using my above description, if your user is working in an assembly and then saves the assembly but does not exit the assembly,  the automatic backup file is reset and the backup file on disk deleted.  If your engineer then goes to a meeting that lasts longer than 60 minutes, because Solid Edge has detected no changes in the assembly no new backup file is created.  Then your engineer returns to his desk and suddenly Solid Edge crashes corrupting the working file before any geometric changes have been made to the file.  Unfortunately in this scenario there will then be *no* backup file for your engineer to try to recover from.


As to you only having .cfg files in the backup folder location I see an issue with our implementation in that when we save the working assembly file and remove the backup assembly file (per the description outlined above) we are then not automatically removing the associated .cfg file.  This is not expected and should really be addressed.  However, this itself is not an indicator that the "Automatic Document Preservation" is not working.  There should be no Solid Edge files in this backup folder upon cleanly saving a file or exiting Solid Edge.

 

All of this can be easily tested by setting your Solid Edge Options to save every 1 minute then working through the scenario while monitoring your backup folder location in Windows Explorer.  As you save your working file and make period geometric changes every few minutes to the file without saving you will see the files in Windows Explorer changing.  Then exit Solid Edge without saving since the last backup file was created and you will see your backup files automagically removed from Windows Explorer.

 

Bottom line, "Automatic Document Preservation" functionality is intended to be a crash recovery option in the event of a Solid Edge crash such that any unsaved work is only lost to the point of the last backup file created.  If you save or cleanly exit Solid Edge the backup file is cleared or reset. 

 

In regards to what I think is your expectation of being able to create incremental backups in order to return to a previous state, obviously as outlined above, this is not how the "Automatic Document Preservation" functionality has currently been designed to work.  There is already an existing ER requesting the functionality for true incremental time periodic backups.

 

I apologize for the lengthy explanation.  Hopefully this better explains how "Automatic Document Preservation" functionality is intended to work as implemented today.

 

Regards,

 

-Dave 

Re: Solid Edge backup not working as expected

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Too bad help can't be that clear and detailed.

Bruce Shand
ST10 MP7 - Insight - Win10 - K4200