We have launched the following command on a folder with more than 200,000 files and almost 80 GB:
rclone sync -P . drivename:/ --ignore-existing
The problem is that it has replaced files and deleted folders that we cannot now recover through the Google Drive admin console because no such changes appear registered from its interface. We have tried to perform a restore (admin console) without success either. We also do not see any previous files from the Manage Previous Versions of any files that have been replaced.
Is there an option to revert this?
Is there any application, even a third party application to recover these files?
These files we want to rescue are Excel and Word documents that have been opened with Microsoft Office through the Windows 10 Google Drive app that mounts a drive (G:/). Do you know if there is any way to recover them locally from the computer where it was opened?
Any help is welcome in order to recover these files.
Run the command 'rclone version' and share the full output of the command.
rclone v1.59.0
os/version: ubuntu 20.04 (64 bit)
os/kernel: 5.14.0-1045-oem (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.18.3
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
When rclone deletes things it should put them in the trash unless you used --drive-use-trash=false which it looks like you didn't (unless you had it set in your config).
It should also be making versions of existing files too.
Can you show your config file with secrets redacted?
Not trying to make a hindsight comment but making sure you are aware.
Before I ever do a big delete type operation, I use --dry-run to make sure it's going to do what I want and validate the expectation. I've made many mistakes over the years and pretty much everyone has deleted a bunch of stuff by mistake so I always have one step to validate before as it saves me a lot of time in the end.
Thanks for the advice, I will keep it in mind for next time.
Although in my case I am trying to migrate data from a NAS to Drive with 80+ GB folders with 200,000+ files. With one folder it took over 48 hours syncing data.