Automatic Database Backup To Local Server, Remote Server, Google Drive, Dropbox and Onedrive
by Cybrosys Techno Solutions https://www.cybrosys.comLines of code | 923 |
Technical Name |
auto_database_backup |
License | LGPL-3 |
Website | https://www.cybrosys.com |
Also available in version | v 14.0 v 15.0 |
Lines of code | 923 |
Technical Name |
auto_database_backup |
License | LGPL-3 |
Website | https://www.cybrosys.com |
Also available in version | v 14.0 v 15.0 |

Automatic Database Backup
Automatic Database Backup To Local Server, Remote Server, Google Drive, Onedrive And Dropbox.


Explore This Module

Overview
pip install dropbox

Features








Screenshots
Database Backup Configuration Menu
Got Setting --> Technical --> Backup Configuration to configure backups

Crate New Database Backup Configuration
Enter the database name and master password. specify backup type and destination. Enter the backup directory path, if directory does not exist new directory will be created.

Store Backup to Remote SFTP Server
Select backup destination as SFTP, enter credentials. Test connection button to check whether the connection is successful.

Store Backup to Remote FTP Server
Select backup destination as FTP, enter credentials. Test connection button to check whether the connection is successful.

Store Backup to Google Drive
you'll need to create a new Google API project and enabling the Google Drive API, Go to the Google API Console and log into your account. While creating the project, for the Redirect URI restrictions, copy your Odoo database URI followed by /google_drive/authentication. Example:

Enable Google Drive API


Create Credentials, Follow the steps, select Website application for the Application Type.

Under the Authorized JavaScript Origins section, click + Add URI and type your companyâs Odoo URL address. Under the Authorized redirect URIs section, click + Add URI and type your companyâs Odoo URL address followed by /google_drive/authentication. After all the steps are completed, A client ID and Secret will be given, copy the credentials

Configure Backup, Copy Client ID and Client Secret from Google Drive API Credentials page into their respective fields.

Setup Tokens, it will be redirected to an authorization page.


Reset the token if required.

Store Backup to Dropbox
Select backup destination as Dropbox. Enter the App key and App secret. you'll need to register a new app in the App Console. Select Dropbox API app and choose your app's permission (files.content.write and files.content.read permissions required).
Install python dropbox library (pip install dropbox).

Setup refresh token

Get the authorization code and click confirm.

Reset the refresh token if required

Store Backup to Onedrive
Select backup destination as onedrive. Enter the App key and App secret. you'll need to register a new app in the Microsoft Azure portal. While registering the app for the Redirect URI restrictions, copy your Odoo database URI followed by /onedrive/authentication. Example:

Copy the Client ID

Generate Client Secret.


get onedrive folder ID, where need to store the backup files.

Configure the backup

Setup Tokens, it will be redirected to an authorization page.


Reset the token if required

Automatically Remove Old Backups
TEnable auto remove option, specify number of days to remove backups.

Notify User on Success and Failure of Backup Generation
Enable notify user option, and select a user to notify. An email notification will be sent to the selected user on backup successful and failure.

Successful backup notification email

Notification email when backup generation failed

Scheduled Action For Generating Backup
Enable the 'Automatic database Backup' scheduled action, and set up the execution interval. Based on the scheduled action setup, backups will be generated on regular intervals.



Related Products

Our Services

Odoo Customization

Odoo Implementation

Odoo Support

Hire Odoo Developer

Odoo Integration

Odoo Migration

Odoo Consultancy

Odoo Implementation

Odoo Licensing Consultancy

Our Industries

Trading
Easily procure and sell your products

POS
Easy configuration and convivial experience

Education
A platform for educational management

Manufacturing
Plan, track and schedule your operations

E-commerce & Website
Mobile friendly, awe-inspiring product pages

Service Management
Keep track of services and invoice

Restaurant
Run your bar or restaurant methodically

Hotel Management
An all-inclusive hotel management application

Support


Say hi to us on WhatsApp!
+91 86068 27707

Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizeddoes it work with Onedrive for Business?
I'm using Onedrive for Business instead of Personal, there's no folder ID, the folder link is something like"https://xxx-my.sharepoint.com/:f:/g/personal/adamw_relaxltd_com_cn/EhNbuLWu1HVLmS_46YbxNekB3oNFFe6jN5ErfeXqYVtoxw?e=Bj0y4C", what should I fill?
Re: does it work with Onedrive for Business?
Currently the module, 'auto_database_backup' is not compatible with onedrive business. We are working on it
When using onedrive backup, the Redirect URI starts with http. However, Microsoft only supports https now. How can we solve this problem?
Unable to install module "auto_database_backup" because an external dependency is not met: Python library not installed: dropbox while installing on odoo.sh
Re:
You have to install the dropbox package, Please check the app index to do the same
still not able to install the module
Re:
Could you please send an email to odoo@cybrosys.com ? Our team will connect you.
Does ist backup the filestore?
Would be great to learn if the database only, or database + filestore is handled with this module.
Thank you!
Re: Does ist backup the filestore?
Both database and filestore are handled in this module
I'm using Onedrive for Business instead of Personal, there's no folder ID, the folder link is something like"https://xxx-my.sharepoint.com/:f:/g/personal/adamw_relaxltd_com_cn/EhNbuLWu1HVLmS_46YbxNekB3oNFFe6jN5ErfeXqYVtoxw?e=Bj0y4C", what should I fill?
Re:
Currently the module, 'auto_database_backup' is not compatible with onedrive business. We are working on it
Added requirement.txt in odoo.sh but still not working
Added requirement.txt in odoo.sh but still not working dropbox==11.36.0
Added requirement.txt in odoo.sh but still not working
Added requirement.txt in odoo.sh but still not working dropbox==11.36.0
Re: Added requirement.txt in odoo.sh but still not working
Are you still not able to install the module or not able to make the module work?
Error
Hello,
When you install the module and connect to google drive you wont be able to sny with google calendar
Re: Error
We cannot reproduce the issue that you described on our side.first please check your Google API configurations are correct. If the issue persists, Please contact us with the extra details of the issue that you have faced, or please provide your email address, and we will contact you.
frustated and time waste with FREE not free apps
error : Dependant DropBox missing
Re: frustated and time waste with FREE not free apps
You have to install the dropbox package, Please check the app index to do the same