odoo-google-drive-backup-with-deja-dup.png
Blogger_636621947188836984.jpg
By: Akhilesh NS

Odoo Google Drive Backup with Deja Dup

The Deja Dup backup tool is a default desktop app in Linux which is not that widely used among the Linux users. Deja Dup is able to schedule file, folder and even entire system backups directly to Google Drive without any complicated commands or settings.

We know, Google Drive is a free cloud storage service from Google that allows to store and share files in the cloud for free. Each google user has free 15GB storage space in google drive and further additional space can be purchased from Google for a relatively small fee. 

In the case of Odoo, we require two backup tools.

1) Any odoo backup apps ( It must backup zip file to a specific folder) 
I recommend to use auto_backup v11 app. It can be downloaded from odoo apps https://apps.odoo.com/apps/modules/11.0/auto_backup/

2) Deja Dup Backup Tool
Deja is preinstalled on the Ubuntu desktop by default. If you don’t find this in your Ubuntu system, run the command from the terminal.

sudo apt install deja-dup

Odoo backup Setup

After installing auto_backup app from odoo app store, go to Technical > Back-ups > Configure back-ups

odoo-google-drive-backup-with-deja-dup-1-cybrosys

Add necessary details for backup configuration such as Host, Database, port, Backup Type, Backup Directory , etc

odoo-google-drive-backup-with-deja-dup-2-cybrosys


After saving, go to Technical > Automation > Scheduled Actions

odoo-google-drive-backup-with-deja-dup-3-cybrosys

From here you can configure backup intervals ( minutes, hour, day, week or months). 

odoo-google-drive-backup-with-deja-dup-4-cybrosys

By clicking Run Manually button, a new backup file generates in the target folder. 

Deja Dup Backup Tool Setup

Open Deja Dup Tool

odoo-google-drive-backup-with-deja-dup-5-cybrosys

Configure your google account on Storage Locations (Click Open online Settings)

odoo-google-drive-backup-with-deja-dup-6-cybrosys

Add your account details

odoo-google-drive-backup-with-deja-dup-7-cybrosys

After account configuration, select the Scheduling options like interval and keeping the policy. 

odoo-google-drive-backup-with-deja-dup-8-cybrosys

After this, a popup window appears for installing a package called duplicity. Duplicity is used to back directories by producing encrypted tar-format volumes and uploading it to a remote or local file server. Just install the package. 

odoo-google-drive-backup-with-deja-dup-9-cybrosys

After finishing the installation add folders you want to save. Click ‘+’ button to add or click ‘-’ button to remove folders. Also, you have an option to add folders to ignore (Not mandatory). 

odoo-google-drive-backup-with-deja-dup-10-cybrosys

If everything is ok, you can see the overview buttons active. 

odoo-google-drive-backup-with-deja-dup-11-cybrosys

By clicking Back Up Now button, you can test the working.

odoo-google-drive-backup-with-deja-dup-12-cybrosys

When you finish the backup, you can see these files on your google drive. 

odoo-google-drive-backup-with-deja-dup-13-cybrosys
Your backup succeeds. 

When you want to restore the backups to the computer, just click the Restore button from Deja

odoo-google-drive-backup-with-deja-dup-14-cybrosys

odoo-google-drive-backup-with-deja-dup-15-cybrosys

Restore backup from a particular date to a particular folder. Old backups will be deleted earlier if the storage location is low on space. 

odoo-google-drive-backup-with-deja-dup-16-cybrosys

After finishing the restore, In the target folder, a home older will appear. You can find your backup folder inside 

odoo-google-drive-backup-with-deja-dup-17-cybrosys




Comments

0


Leave a comment

 
Calicut

Cybrosys Technologies Pvt. Ltd.
Neospace, Kinfra Techno Park
Kakkancherry
Kerala, India - 673635

London

Cybrosys Limited
2 Sheen Road,
Richmond, London
England - TW9 1AE

Kochi

Cybrosys Technologies Pvt. Ltd.
1st Floor, Thapasya Building,
Infopark, Kakkanad,
Kochi, India - 682030.

Bangalore

Cybrosys Techno Solutions
The Estate, 8th Floor,
Dickenson Road,
Bangalore, India - 560042

Send Us A Message