OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • Google Drive Backup
« previous next »
  • Print
Pages: 1 2 [3]

Author Topic: Google Drive Backup  (Read 28528 times)

dp

  • Newbie
  • *
  • Posts: 25
  • Karma: 1
    • View Profile
Re: Google Drive Backup
« Reply #30 on: January 07, 2022, 04:31:21 am »
So actually to clarify there are two entries that can be put in the email and it will work. One is the Service Account Email and the other is the Unique ID. Both of those will work. However the email address of the account that owns the drive will not. I wonder if cookiemonster was trying that address instead of the service account address?

Any chance the wording for this field and especially the help tag can get updated to reflect this? Maybe have the field say "Identity" and then have the help say something like: "Enter either the Unique ID or the Service Account Email address. Do not use the G-mail address that owns the drive."

It wasn't until I found this thread and looked back over the instructions that I found my mistake.
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1028
  • Karma: 72
    • View Profile
Re: Google Drive Backup
« Reply #31 on: January 07, 2022, 05:35:33 am »
Anyone can submit a PR to propose adjustments: https://github.com/opnsense/core/blob/6de63630efb3c8914fcb59693ad973bdb54f4578/src/opnsense/mvc/app/library/OPNsense/Backup/GDrive.php

 :)
Logged

cookiemonster

  • Hero Member
  • *****
  • Posts: 1827
  • Karma: 95
    • View Profile
Re: Google Drive Backup
« Reply #32 on: January 10, 2022, 01:14:57 pm »
I am positive I was attempting to use the email of the service account, not the account owner.
It might have been a temporary problem at the time, so this might be a non-issue.
Logged

crashdox

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Google Drive Backup
« Reply #33 on: October 10, 2022, 09:59:51 pm »
FWIW, I attempted this using a Google *Shared* drive (*not* a drive under My Drives that is shared) and repeatedly received FileNotFound errors.  It DID work when I created a "normal" folder under My Drive & shared it.  Maybe something stupid I did, but I'm leaving it there for now since it's working.

(the folder in the Shared drives isn't shown here, but that is where it was).

Logged

Turbocharger

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Google Drive Backup
« Reply #34 on: May 13, 2024, 10:55:47 pm »
Thanks OP for this guide super useful and helped loads! Kudo's good SIR 8)
Logged

  • Print
Pages: 1 2 [3]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • Google Drive Backup
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2