I lost some files due to a syncing mistake by me. Unfortunately, Syncthing wasn’t running with --verbose and --audit flags, but I really want to find out what files were deleted.
So I found a post about extracting that info from the database, by @AudriusButkeviciushere. I’m an amateur programmer and have never worked with Go or databases yet. Could someone please help me with this?
Something involving syncthing cli debug index dump | grep Deleted could maybe help you? Some more investigation and targeted grepping needed of course. Run it while Syncthing is stopped.
It’s not file operations, but the final state reached. And for deleted items, I don’t think there is an automatic expiry mechanism. They just stay there as records with Deleted:true indefinitely (until the same path is added again or the DB is reset).