Google Drive Sync and Odoo Database backup
by Acespritech Solutions Pvt.Ltd http://www.acespritech.com
Odoo
$ 34.07
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 405 |
Technical Name |
gdrive_sync_db_backup |
License | See License tab |
Website | http://www.acespritech.com |
Versions | 10.0 11.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 405 |
Technical Name |
gdrive_sync_db_backup |
License | See License tab |
Website | http://www.acespritech.com |
Versions | 10.0 11.0 |

No support will be available for this module after purchase.
Odoo 11: Google Drive Sync and Odoo Database backup
This module will help you to sync your google drive files and folders at your server side and After that using ubuntu system crontab facility to do database backup and upload on your google drive account.
Note: This module is tested and working in Odoo community edition but not tested in Enterprise version. And we are supporting Ubuntu OS and not Windows OS.
Important : This module will work only with ubuntu system. Database back up and sync on the google drive will always depends on internet and server speed. So time interval for different time backup user need to identify.
How to use
- Note : Before Install the module install the below python packeges. 1. sudo add-apt-repository ppa:nilarimogard/webupd8
2. sudo apt-get update
3. sudo apt-get install grive
4. sudo apt-get install python3-crontab
-
In 'Database Backup' menu, click on 'Create' button and You will get form view.
You wil find following fields:
1. Host Name : System User Name (Odoo User)
2. System Password : System User Password (Odoo User Password)
3. Backup Path : Path where you want to take database backup.
Note : User have to give proper path starting from '/home' directory.
4. Google Drive Sync Path : Path where you want to sync your google drive in local.
Note :User have to give proper path starting from '/home' directory.
5. Date & time Format : Just for user identification for file to identify by file name that how old file is.
6. Back Up Interval Every : you need to enter integer and has options minute,hours,days,weeks,months. User can also define time of back up into AM/PM option.
7. Remove old copies after : You need to enter integer number and has options minute,hours,days,weeks,months.

- Once Record is created.Crontab into ubuntu system will be created. You can check into system terminal using command : "crontab -l".

- Once Record is been created you can click on "Initial Google Drive Sync" button to sync your google drive into you local system. You will get server terminal open with google drive sync path.
- Once Terminal is open you need to type command on same path "grive -a". Once you type this command and press enter. User will get one google link. That link need to copy and paste in browser. so you will get one authentication code.

- Once you get authetication code, You need to paste into same terminal and press enter. Initial sync of your google drive will start.

- After sync is complete. User can check define time database backup is done by crontab.
NOTE: We give 60 days support for our customers. Before trying in your live db, please ask us to provide you for test link. If any other custom modules are installed and because of that some errors occurs then we charge extra.
Contact us for support, query, customization
Acespritech Solutions Pvt. Ltd. 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