Recovering Source (Auto Save Feature)

DPC

Member
Hi - new user here and enjoying this great app!

My question... I know that PL/SQL Dev can recover your source if your system crashes or the program closes unexpectedly. However, is it possible to retrieve or access previous versions of your source in the event of a normal close? Is my source code silently auto-cached somewhere on my machine?

The reason I ask is because another developer compiled an older version of a package over my changes. Unfortunately I don't have a backup, so I'm hoping that PL/SQL DEV might have a cached version locally that I can try to restore from.

On a related note does PL/SQL Dev offer any solutions to prevent this from happening? Similar to TOAD's "Team Coding" feature.

Thanks in advance.

 
Hi,

may be it's to late for now, but have look at Tools\Preferenzes\Files\Backup to find out the location/enable this feature.

The backuped files are saved with a ~ preceding the extesion.
 
Thanks Theod - That option was actually set to "disabled", but it only seems to work if you explicitly save the file:

"Before PL/SQL Developer saves a file, the original file will be saved to a backup file before overwriting it. "

I did notice that I had the "Recovery" option on the same tab set to "Save on time interval" (10 mins)... Which directory does that get saved to?

 
I would also like to see better backup capabilities. I do use the existing backup in PL/SQL Developer, but here are the areas for improvement:

1. Only one backup is kept. I would like all of my saves kept in a backup folder (with a timestamp appended to the file name). Since I make a point of saving often, if I save twice in a row it's as if there is no backup. One program that I use that does this very nicely is Notepad++. I will often view the source code in PL/SQL Dev and then copy it to Notepad++ to edit because it is more important to me to have backups than to have features like code completion.
2. Backups only work when editing files. If I right-click on a package and choose edit, and then compile my changes, the previous package is lost. I would like to see an option to automatically save a package file (with timestamp) any time I edit source code like that.

 
Hi

Try the new version of the plugin OraTau PLD Plug-in 1.2, it is implemented to save a specified number of backup files.

Sincerely, Alexander Bryantsev!
 
Back
Top