While cleaning up my catalog I accidentialy deleted a virtual copy of a file (as in "delete from disk)" from my file folder. Any magic to recovering the copy without having to re-edit that finished photo and avoid having to to edit it all over again?
I do have a copy in a copy but is only in JPG. not the original RAW format and I've love to retain that format.
Virtual copies are stored in the LrC catalog and not in the folder on your HDD. When you delete a virtual copy you'll see a popup that says 'Remove from Lightroom?'. If it's only one file I suggest simply rediting a new virtual copy. If you have a large number of deleted virtual copies AND you have a recent catalog backup you could recover them by exportitng to DNG file format using the backup catalog and then import them into the current working catalog.
Just to be clear the virtual copies in the backup catalog you want to recover need to be exported to DNG file format using a recent catalog backup file. Not the original raw files. This wil create an exact copy of the virtual files including the Develop settings, keywords, star ratings, and color labels. It does not include pick flags and association with a collection. So you'll have to do that manually if needed.
If you had only a virtual file selected you should only get an option to remove. If you have an original file selected and used the delete from disk option the original file should be sent to the trash bin and all related collections, virtual copies and metadata in the catalog file will be removed.