Database auto-backup to google drive
by SunArc Technologies https://www.suncartstore.com/odoo-apps/db-backup-in-drive
Odoo
$ 51.11
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 225 |
Technical Name |
dbbackupin_drive |
License | OPL-1 |
Website | https://www.suncartstore.com/odoo-apps/db-backup-in-drive |
Versions | 14.0 15.0 16.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 225 |
Technical Name |
dbbackupin_drive |
License | OPL-1 |
Website | https://www.suncartstore.com/odoo-apps/db-backup-in-drive |
Versions | 14.0 15.0 16.0 |


DB Backup In Drive
The DB Backup in Drive app helps users to store the database backup automatically on their google drive folder. This app is used for uploading backups to google drive. User can schedule the backup according to business requirements like hourly, monthly, weekly etc. You can create database backup in zip format and store specified location.
Steps to access google drive api
1. On
odoo admin panel, Navigate to
Setting
> Activate the developer mode and then go to App and Click on update app list
2.
Search Database auto-backup to google
drive app
3.
Open Database auto-backup to google
drive app and Install it.
4. App
Successfully Installed
5. You
can check the app features in
“Information” tab of app
6.
Check Installed features under
“Installed Features” tab
Steps to access google drive api
1. Go
to Google Developer Console
2.
Then create new project
3.
After that switch to the created
project
4.
Then enable Google Drive api by
clicking
on library tab and search for google drive api and click on the api and click enable
option
5.
After enabling the api, you will be
redirected to overview of the project
6.
Then click on the credential tab on
the
left side of the navigation bar
7. Now
click on the “configure consent
screen” link
8. Now
select the user type as External
and
click on the create button
9.
Then you will be redirected to oauth
consent screen’s second page where you have to fill app name, user support email and
developer information email and after filling these fields, click on save and continue
button
10.
Now you will be redirected to scopes
page where you have to click on “Add or remove scopes button”
11.
There will on a slider where you
have
to select the scopes which are as follows:
- /auth/drive
- /auth/drive.file
12.
Now click on continue and save
button
13.
After that again click on continue
and
save button on test users page
14.
Now click on the back to dashboard
button on the summary page
15.
You will be redirected to the main
page
of the oauth consent screen page
16.
Now click on the publish app link
and
confirm
17.
Now Go to the credentials page and
click on create credentials and select oauth client id
18.
Select application type as web
application
19.
Now Click on ADD URI button under
section “Authorized redirect uri”
20.
And add
“https://developers.google.com/oauthplayground” uri and click on the create button
21.
You will get client id and client
secret of google drive api
22.
Now Go to the playground api :-
https://developers.google.com/oauthplayground
23.
Click on settings button and make
use
of your own credentials option checked and enter your client id and client secret you
got
from step 21
24.
then select the scopes mentioned in
the
steps 11 under drive api v3 section. i.e.
- https://www.googleapis.com/auth/drive
- https://www.googleapis.com/auth/drive.file
25.
Now an gmail signup form will open.
Select your gmail account(same account from where you have created a project in google
developer console) and approve and give permission to these apis with your google gmail
account
26.
Now click on “Exchange authorization
code for tokens” button in oauth playground page
27.
Now click on the “Exchange
authorization code for tokens” step and get your refresh token
Configuration Auto Backup in Odoo
1. Go
to the Settings -> Activate the
Developer mode
2. Go
to Technical -> Backups -> Backup
Configuration
Users can store the
database backup automatically on their google drive folder
Database backup
gets
in zip format and stored into specified drive location
User friendly
easily
process






📘 User Guide
https://knowledgebase.suncartstore.com/docs/db-backup-in-drive-2/
Our Services

E-Commerce Development

Open Source

Mobile App Development

Web Design & Development
Our Most Trending Apps
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module