How Visual Paradigm (Nearly) Ruined my Day and Dropbox (Nearly) Saved it
Join the DZone community and get the full member experience.Join For Free
for months i've been designing an architecture for a fictious system, which is required for the second part of the sun certified enterprise architect (scea) exam. today i came to my computer to make few final but important finishing touches to my uml diagrams. the notebook run out of battery and thus lost its in-memory suspended state – nothing special, it happens. but what an horror! when i started visual paradigm (which was running when i suspended the computer), my uml tool, it asked me whether to restore the auto-saved project – which could have been expected, and i agreed – and opened the project – with all texts lost!
as you can see on the screenshot,even the package name got lost. it’s not only that the text isn’t visible – all the information about the model has simply disappeared from the project!
after a short period of panic i remembered that dropbox , which i use to back up my scea folder and to share it with my home computer (i’m kind of paranoid since having may first computer that used to crash regularly due to overheating), keeps few recent versions of each file. of course the latest version was corrupted because the notebook has already synchronized with dropbox, but there were also two previous versions and the originally added one – what a relief!!!
while exploring the folder, i noticed two strange files, namely <my vp project file>.vpp~270 and <my vp project file>.vpp~271. looks like vp is keeping backups of its own! and indeed, when i renamed the .vpp~271 file to .vpp and opened it with vp, my lovely diagrams were back in their latest state with all other information in place! and thus vp hasn’t ruined my day (rather many days) after all and i didn’t need dropbox to save me.
conclusion: back up, back up, back up!
for the curious: i use visual paradigm for uml modeler edition 3.6 (i’ve also tried the latest community edition but it allows only a very limited number of diagrams – perhaps one? – before putting an unacceptably obtrusive watermark on each). i’ve a couple of reservations against its usability, responsivness, unnecessary limitations of what can be done on a diagram and its behavior, but it is the best tool i have.
Opinions expressed by DZone contributors are their own.