Hey all, I just deleted an image, which had a clone variant, and they both disappeared (ooops!!). Is there any way to restore the images, or are they gone the way of the Dodo?
Thanks in advance.
Hey all, I just deleted an image, which had a clone variant, and they both disappeared (ooops!!). Is there any way to restore the images, or are they gone the way of the Dodo?
Thanks in advance.
mac or windows?
where it went… garbage? if you put it back in the folder it was, should be good to go (close and re-open PL).
Mac, and I checked the trash, but trash is empty.
I had emptied the trash earlier but, I wonder, did I do it AFTER removing them from the library…
Hmmm, I suspect I know the answer to that
In Windows deleted images can be restored from the Windows recycle bin. Something similar can be done on a Mac. I assume by clone variant you mean a virtual copy. With regard to any edits you made or any virtual copies you created, they will be gone forever, at least on a PC, unless you restore backups of the files including .dop and .xmp side car files and a copy of the database prior to your deletions. I know that Macs has something called a time machine. Perhaps that could help you. Don’t you back up your computer’s data on a regular basis
Mark
…maybe you’ve got it in a time machine backup?
On macOS, a locally stored photo will be moved to the trash while a photo stored on a network share will be deleted.
If you are using Apple Time Machine, you can recover it. Do you know how to recover files from Time Machine. You could recover your entire computer if necessary. Time Machine is free. You just need an external drive. Apple computers only.
Is it possible to retore an accidentally deleted image along with it’s dop file in a Windows version of PL8?
I accidently deleted the master as well as the virtual copy.
The Ctrl-Z function, applied immediately from within PL8 did not work, so I “restored” the image from the Recycle bin outside of PL.
The image shows in the filmstrip but not in the main viewer. The global adjustments do not show up but the local adjustment “layers” can be seen as grayed out entries. The DOP file shows the global and local adjustments.
The same confusing issue remains after moving the image to a new folder and renaming it. PL creates a new dop with “(2)” appended.
I have not deleted the database yet.
Is there another way to get PL8 to re-recognize the photo and dop adjustments? What am I missing?
Thanks!
Strange. It works fine here. Restored images appear in film strip and selecting them show them in main viewer.
No manipulation other than restoring them from the recycle bin.
I’ve just checked this now to be sure it works with PL8. It does here.
PL8 Win11.
PS : I restored images when PL8 was open (I didn’t checked if this is needed and I don’t think so).
I tried this with PL8 and got a slightly different result.
@SAFC01 – there might be two reasons:
Note that PL does not update DPO and the database synchronously with edits. For DOPs there was 20 sec lag in PL7, don’t know about PL8 and DB updates.
EDIT: Just tried restoring DOP (with VC inside) first and only then the raw. This time there was no VC. There must be still another timing issue, but I have neither time nor will to investigate it further – it would require using ProcMon, which is time consuming.
Ran an experiment with DPL7.10 on macOS Sonoma 14.7.1 on Intel 5k iMac 2019
Prep
Test 1
Test 2
Test 3
Note that
Comments
@platypus and @Wlodek.
I’ve done another test, slightly different to yours but with strange, unexpected results that suggests:
a) the explanation you (@Wlodek) gave above while plausible may well not be correct
b) there’s yet another difference between Win and MAC versions
So it appears to me that for some reason, at the point of Removing the image(s) in PL8 the DOP is first updated to remove the VC entry and then the DOP and RAW file deleted to the Recycle Bin.
I’ll repeat this test with PL7, and also try PL7 & 8 with multiple VCs to see what happens and post again.
That is unexpected as well as the missing entries for the VC.
Testing with my manual sidecar management gave no such effect.
Both the original DOP and its deleted copy are identical
Last login: Wed Nov 13 09:30:51 on console
501@iMac ~/Desktop $ shasum *.dop
a9b899eafb8668af9f310f27ed22514940236129 20231206_8606_R 2.CR3.dop
a9b899eafb8668af9f310f27ed22514940236129 20231206_8606_R.CR3.dop
501@iMac ~/Desktop $
Testing with auto I/E of sidecars…both .dop files were identical again.
Seems to be a Win thing…
I’ve just repeated the same test, but creating 5 VCs from the single image. The results are essentially the same as above. The DOP in the Recycle Bin (i.e. after Remove in PL8) is approximately 1/6 the size of the one for the Master & 5VCs, and again has no information for anything other than the Master image.
I’ll now repeat with PL7.
The results for PL7.10 (Master and 5VCs) are exactly as described above for PL8. As you (@platypus) say, it appears to be a Windows thing, but clearly the difference lies within PL as I can’t see any way the DOP could be being changed at the point of Remove other than from within the PL code.
So my conclusion, going back to @swmurray’s initial question is that:
@SAFC01 The most likely deletion sequence from the database is
It appears that DxPL(Win) has decided to write the DOP between steps 1 and 2.
Download FolderMonitor, set it to watch the test directory, set logging on and then delete and analyse the results to see if a new DOP is created just before being deleted!
The simplest way to detect the break point and how many copies you have is to look for “ShouldProcess” (and count them), the Tag field, which sits just before the UUID (that can cause unwanted VCs).
This is the tail end of a “random” DOP which only contains a [M]aster.
The DOP write delay can be up to 20 seconds but I have seen slightly longer delays and for critical DOP writes DxPL can choose not to “batch” them up, I believe.
Thanks for the suggestion Bryan. I’m busy for the next few days but will give it a try next week and reply.
…about the same with DPL on macOS…but creating a VC is written to the .dop file almost immediately (within one second for 60 images)
Great analysis in this discussion - in my opinion, already more than sufficient for submitting a bug report to DxO Support. That VCs are being deleted before the image file and sidecar are sent to the recycle bin should be regarded as a design error, given the purpose of the recycle bin. While PhotoLab doesn’t provide a mechanism for restoring deleted files, it’s easy enough for us to do that in the OS. That said, I would not have the folder where those files resided open in PhotoLab at the time I restore the files from the recycle bin. I would either close PhotoLab or open a different folder while recovering the files, so that PL doesn’t read and process the image file before the sidecar is restored (data race). This has previously been demonstrated when copying or moving files while PL is running and monitoring one of the folders involved.