Skip to Content
Menu

Filestore Replicator

by
Odoo

99.00

v 18.0 Third Party 2
Availability
Odoo Online
Odoo.sh
On Premise
Community Apps Dependencies
Lines of code 366
Technical Name dkn_filestore
LicenseOPL-1
Websitehttps://dakon.io
Versions 14.0 15.0 16.0 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Community Apps Dependencies
Lines of code 366
Technical Name dkn_filestore
LicenseOPL-1
Websitehttps://dakon.io
Versions 14.0 15.0 16.0 17.0 18.0

Filestore Replicator

Version: 18.0.1.0

Author: Dakon

Compatibility: Odoo 14+

Overview

To set up high availability for Odoo, it is typically necessary to run it on at least two servers. To synchronize the filestore between both servers, NFS (Network File System) is usually required; however, NFS can be quite costly. With this module, all the filestore will be transferred to object storage solutions like Amazon S3 and Google Cloud Storage. By using object storage, you can significantly reduce your infrastructure costs.


Features

  • Mirrors the attachments to Object Storage (eg. S3, Google Cloud Storage, Minio, etc)
  • Storing files in cache to reduce slow network latency.
  • Tested on both the community and enterprise versions.

Installation

Instructions on how to install the module:

1. Copy the module into your Odoo addons folder.
2. Update the configuration files or use the environment variable.
4. Restart the Odoo server.
5. Install module dkn_filestore from menu Apps.

Configuration

There are two ways to configure this module: the first way is by using odoo.conf, or if you are using Docker, you can also set it up with environment variables. Below are the available configurations.

--------------------------------------------------------------
|                   PRIMARY CONFIGURATION                    |
--------------------------------------------------------------
| VARIABLE              | DESCRIPTION       |  IS MANDATORY  |
|-----------------------|-------------------|----------------|
| DKN_FILESTORE_DRIVER  | driver (s3|gs)    |      TRUE      |
|-----------------------|-------------------|----------------|

--------------------------------------------------------------
|                 GS SPECIFIC CONFIGURATION                  |
--------------------------------------------------------------
| VARIABLE              | DESCRIPTION       |  IS MANDATORY  |
|-----------------------|-------------------|----------------|
| GS_ACCESS_KEY_ID      | gs access key id  |      TRUE      |
| GS_SECRET_KEY         | gs secret key     |      TRUE      |
| GS_BUCKET             | gs bucket name    |      TRUE      |
| GS_ENDPOINT_URL       | gs endpoint url   |      TRUE      |
| GS_REGION             | gs region         |      TRUE      |
--------------------------------------------------------------

--------------------------------------------------------------
|                 AWS SPECIFIC CONFIGURATION                 |
--------------------------------------------------------------
| VARIABLE              | DESCRIPTION       |  IS MANDATORY  |
|-----------------------|-------------------|----------------|
| S3_ACCESS_KEY_ID      | s3 access key id  |      TRUE      |
| S3_SECRET_KEY         | s3 secret key     |      TRUE      |
| S3_BUCKET             | s3 bucket name    |      TRUE      |
| S3_ENDPOINT_URL       | s3 endpoint url   |      TRUE      |
| S3_REGION             | s3 region         |      TRUE      |
--------------------------------------------------------------

Example:

[options]
..
dkn_filestore_driver = gs
gs_access_key_id = xxxxxxxxxx
gs_secret_key = xxxxxxxxxx
gs_bucket = odoo
gs_endpoint_url = https://storage.googleapis.com
gs_region = asia-southeast1
..

Synchronization

After installing this module, you need to sync the old filestore, which contains files not synced to the mirror storage. Go to Settings > Integration > Filestore Mirroring, and click the Sync Filestore button.

Support

For support, please contact:

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

  • 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 or have a question related to your purchase, please use the support page.