$ sudo extundelete /dev/sdb1 --restore-all
NOTICE: Extended attributes are not restored.
Loading filesystem metadata ... 29808 groups loaded.
Loading journal descriptors ... 0 descriptors loaded.
Searching for recoverable inodes in directory / ...
0 recoverable inodes found.
Looking through the directory structure for deleted files ...
0 recoverable inodes still lost.
No files were undeleted.
So I wonder how rclone deletes files? Is there a general log of rclone to see what it has been deleted?
What kind of files were they? I've had good success with photorec recovering photos and videos off corrupted media and it should work equally well with deleted files.
Make sure you don't write anything else to the drive.
Thanks! I have seen photorec but I haven't tried it yet. I have some videos and some plain text file, but I also have binary data that doesn't have header so I was hoping to find something that works with the journal file.
TestDisk, that is from the same developer help me to recover some files, but for some reason after the syncronization made with rclone, Testdisk is not able to recover everything. Although Testdisk says it only works with ext2 partition so that might be the reason.
Photorec doesn't rely on the filesystem unlike Testdisk. It just treats it as blocks of data and recovers what it can. I've used it to recover lots of data from corrupted media (in combination with ddrescue). In fact I managed to recover half the images from an SD card that had been sent of for unsuccessful professional recovery.
Give photorec a try, it will probably recover a different set of files!