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

by
Odoo 10
v 16.0 Third Party 2163
Download for v 16.0 Deploy on Odoo.sh
Lines of code 923
Technical Name auto_database_backup
LicenseLGPL-3
Websitehttps://www.cybrosys.com
Also available in version v 14.0 v 15.0
You bought this module and need support? Click here!
Lines of code 923
Technical Name auto_database_backup
LicenseLGPL-3
Websitehttps://www.cybrosys.com
Also available in version v 14.0 v 15.0
Community
Enterprise

Automatic Database Backup

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

Explore This Module

Overview

This module helps to generate backups of your databases automatically on regular interval of times. The generated backups can be stored into local storage, ftp server, sftp server, dropbox, Google Drive or Onedrive. User can enable auto remove option to automatically delete old backups. User can enable email notification to be notified about the success and failure of the backup generation and storage. Using Automatic Database Backup module user can generate and store database backups to multiple location.
This module uses an external python dependency 'dropbox'.Before installing the module install the python package first.The required python package can be installed using the following command,
pip install dropbox

Features

Generate Database Backups on regular intervals
Store Backup to Dropbox
Store Backup to Onedrive
Notify user on success and failure of backup generation
Store Backup to Remote Server
Generated backup can be stored to Google Drive
Automatically remove old backups

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

Need Help?

Got questions or need help? Get in touch.

odoo@cybrosys.com

WhatsApp

Say hi to us on WhatsApp!

+91 86068 27707

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
does it work with Onedrive for Business?
by
adam
on 1/13/23, 7:14 AM

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?
by
Cybrosys Technologies
on 1/17/23, 1:43 AM Author

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?
by
杨军
on 1/13/23, 3:06 AM



by
muhammed noufal
on 1/4/23, 10:31 AM

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:
by
Cybrosys Technologies
on 1/5/23, 12:22 AM Author

You have to install the dropbox package, Please check the app index to do the same


by
muhammed noufal
on 1/18/23, 8:49 AM

still not able to install the module

Re:
by
Cybrosys Technologies
on 1/19/23, 4:07 AM Author

Could you please send an email to odoo@cybrosys.com ? Our team will connect you.


Does ist backup the filestore?
by
zueger@vioso.com
on 1/13/23, 8:38 AM

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?
by
Cybrosys Technologies
on 1/16/23, 11:35 PM Author

Both database and filestore are handled in this module


by
adam
on 1/13/23, 7:13 AM

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:
by
Cybrosys Technologies
on 1/17/23, 1:43 AM Author

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
by
muhammed noufal
on 1/13/23, 3:36 AM

Added requirement.txt in odoo.sh but still not working dropbox==11.36.0


Added requirement.txt in odoo.sh but still not working
by
muhammed noufal
on 1/13/23, 3:35 AM

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
by
Cybrosys Technologies
on 1/16/23, 11:34 PM Author

Are you still not able to install the module or not able to make the module work?


Error
by
imbra.intl@gmail.com
on 12/21/22, 6:50 AM

Hello,

When you install the module and connect to google drive you wont be able to sny with google calendar

Re: Error
by
Cybrosys Technologies
on 1/10/23, 10:25 PM Author

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
by
Ramsees Khalil
on 11/8/22, 4:28 AM

error : Dependant DropBox missing

Re: frustated and time waste with FREE not free apps
by
Cybrosys Technologies
on 11/10/22, 10:35 PM Author

You have to install the dropbox package, Please check the app index to do the same