2

I've been hit by a ransomware and multiple thousands of my google drive files were encrypted and uploaded to Google Drive.

Unlike Dropbox, no global rollback feature exists on Google Drive. For 30 days I can manually restore the previous version one file at a time via the Google Drive web interface and "Keep forever" setting in Revision.

Is there a script or a tool I could use to automate this process? Otherwise, I have thirty days to check that box manually for thousands and thousands of files...

closed as off-topic by Rubén, serenesat, ale Sep 9 at 20:34

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking for us to recommend or find a Web Application are off-topic and out of scope, as they tend to attract opinionated answers and spam. However, your question may be on topic at Software Recommendations if you can rewrite it so that it meets their quality guidelines" – Rubén, serenesat, ale
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Contact a Google Drive specialist through the Google Drive Help Center. Also you could use Google Apps Script and/or the Google Drive API. – Rubén Sep 4 at 13:52
  • 1
    Thanks for the support. I did contact Google support and discuss over a few emails. They can't help and are not willing to do anything helpful expect explaining I have 30 days to roll back manually thousands and thousands of files. I am very disappointed. Beyond my case, I fear a lot of people feels their files are safe with Google Drive and obviously any ransomware just defeat the whole backup. Other part of my work was on Dropbox, Support was really helpful and I got all my files back in 24 hours after a rollback to a specific point in time. – martin Sep 7 at 14:47
  • 1
    @ahorn I found a faster way than downloading and uploading is to delete the last version and then the previous version becomes the current version. I could then sync everything again once. It gains a little bit of time but obviously doesn't solve the issue to manually check thousands of files. – martin Sep 7 at 14:50
  • 1
    @Rubén I am not skilled enough to create a goole script myself or use API. If a script existed to delete the last version from a folder and roll back to the previous one it would be very helpful. – martin Sep 7 at 14:52
  • 1
    While sometime answers on this site include links to existing scripts, this isn't a script finding / writing service, actually, questions asking for software (including scripts) recommendations are off-topic on this site. I you could rewrite your question to include you search/research efforts to adapt/write a script yourself the question could be on-topic and there will be more chances to get an answer o this site. By the way, to ask for a software recommendation try Software Recommendations. – Rubén Sep 7 at 16:58