Google drive service account impersonation


Currently using native google drive option (because rclone it´s too slow to restore). But since this method uses service accounts, the storage quota is way reduced (30gb).

So I was getting this error:

Create in PutBlob(p5ec8202b0c543cbd306b786a65116c76-s942970f9ef80b7e1125): unexpected Google Drive error: googleapi: Error 403: The user’s Drive storage quota has been exceeded., storageQuotaExceeded

I was looking for solutions and one of them could be 1. use real user instead of service accounts (I saw a topic about this in the forum), or 2. configure your service account to impersonate a human account, and this require a few modifications as far I know

References: node.js - How to fix the storage exceeded issue for Google Drive when uploading using Service Accounts - Stack Overflow