Backing up automatically to Google Drive in Windows

  • Download Google Drive CLI Client by prasmussen
  • Copy to Windows folder
  • Open cmd > type : gdrive about
  • Open the link in web browser, login to your google account
  • Click allow access and then copy the verification code back to the terminal window
  • Now you can make a batch file to be started automatically using task scheduler, here’s an example to upload only the newest file in a folder :
    SET BackupFolder=D:\TestFolder
    FOR /F "delims=|" %%I IN ('DIR "%BackupFolder%\*.*" /B /O:D') DO SET target=%%I
    gdrive upload "%BackupFolder%\%target%"

PS: You can use this guide to set up a task in task scheduler


Acronis True Image fails with “Backup date cannot be found”

This problem usually happens when using the consolidation backup, the workaround is to stop using the consolidation. Instead, limit the incremental backup using the available rules (days, size, etc)