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)

jeuler

  • Newbie
  • *
  • Posts: 24
  • Karma: 2
    • View Profile
Re: Google Drive Backup
« Reply #15 on: February 09, 2020, 10:38:49 am »
@rcrules: Thank you a lot for posting the detailled tutorial. I followed it step for step and was able to succesfully set up an automated backup for all my OPNsenses.
Logged

rheemix

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Google Drive Backup
« Reply #16 on: July 03, 2020, 08:22:02 pm »
Thank you for putting this together. This guide helped me set up Google Drive backup.
Logged

nerd154

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Google Drive Backup
« Reply #17 on: July 17, 2020, 02:06:45 pm »
Hey, thank you very much for the information! I had the same problem and didnt know what to do! You did an amazing job!
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1028
  • Karma: 72
    • View Profile
Re: Google Drive Backup
« Reply #18 on: November 11, 2020, 06:28:50 am »
One clarification I believe for Page 9. The password that should be entered in the OPNsense backups configuration page should be a strong password for encryption of the backups, not the default "notasecret" password that applies to the p12 key. Given that the p12 key password is a standard password used by Google for all keys generated, I believe OPNsense itself supplies that password when using the key.
Logged

axel2078

  • Newbie
  • *
  • Posts: 46
  • Karma: 5
    • View Profile
Re: Google Drive Backup
« Reply #19 on: December 11, 2020, 02:28:33 pm »
rcrules, would you be able to update the official docs (see link provided above) so that others maybe be able to do this easier in the future?
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1028
  • Karma: 72
    • View Profile
Re: Google Drive Backup
« Reply #20 on: December 26, 2020, 03:35:59 am »
I have prepared an updated how-to on GitHub and submitted a PR for it. Hopefully that will assist people (assuming it is accepted)
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1028
  • Karma: 72
    • View Profile
Re: Google Drive Backup
« Reply #21 on: January 20, 2021, 09:38:35 pm »
The updated how-to is now available: https://docs.opnsense.org/manual/how-tos/cloud_backup.html?#setup-google-api-usage
« Last Edit: June 26, 2021, 07:58:32 am by Greelan »
Logged

baqwas

  • Jr. Member
  • **
  • Posts: 62
  • Karma: 3
    • View Profile
Re: Google Drive Backup
« Reply #22 on: January 28, 2021, 03:28:54 am »
Hello @Greelan,

Cannot thank you enough for your efforts that helped me (a basic newbie) get an extra level backup reassurance.

Kind regards.
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1028
  • Karma: 72
    • View Profile
Re: Google Drive Backup
« Reply #23 on: January 28, 2021, 03:34:49 am »
Logged

vijvis

  • Newbie
  • *
  • Posts: 15
  • Karma: 1
    • View Profile
Re: Google Drive Backup
« Reply #24 on: July 05, 2021, 01:35:37 pm »
Worked perfectly. Thanks very much for the detailed steps with screen shots.
Logged

cookiemonster

  • Hero Member
  • *****
  • Posts: 1827
  • Karma: 95
    • View Profile
Re: Google Drive Backup
« Reply #25 on: October 28, 2021, 03:19:51 pm »
This is a great help. It was desperately needed, than you.
I did follow it and am up and running, just one point. Maybe things changed since the guide was written but I was stuck in :
"3. Set up the account in OPNsense"
Email Address - enter the email address of the service account you created

It took me some time to realize it would only work if I used the user ID instead of the email address in this field in OPN. If I used the email I would get failure when finishing and pushing the "Setup/Test Google Drive" button.
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1028
  • Karma: 72
    • View Profile
Re: Google Drive Backup
« Reply #26 on: October 28, 2021, 09:11:45 pm »
Can you explain your comment further?
Logged

cookiemonster

  • Hero Member
  • *****
  • Posts: 1827
  • Karma: 95
    • View Profile
Re: Google Drive Backup
« Reply #27 on: October 28, 2021, 10:00:14 pm »
Of course.
According to this helpful post that is now committed to docs, when setting up the directory in OPN, we enter the email address. I got an error every time I did and pressed Test.
I changed from email i.e. user@opnsense-backups-888-iam-gserviceaccount.com as a value in the email field to it's Unique ID value in the developer console. Only then it would be accepted.



It is perfectly possible there's something else that I needed to do to accept the email as per the instructions but I have gone over the steps multiple times.
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1028
  • Karma: 72
    • View Profile
Re: Google Drive Backup
« Reply #28 on: October 28, 2021, 10:08:35 pm »
Thanks for clarifying. That’s interesting. My backup is still happily working with the service account email address. That’s the first I have heard of the email address causing an issue
Logged

cookiemonster

  • Hero Member
  • *****
  • Posts: 1827
  • Karma: 95
    • View Profile
Re: Google Drive Backup
« Reply #29 on: October 28, 2021, 10:33:30 pm »
Yes I did find it odd. It probably works as-written and is something on my side. I thought it would be good to share in case something changed google-side for new setups or a setting somewhere causes this and is not quite obvious.
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