This project help to run odoo open upgrade using docker.
Docker compose is used to specify each container for each migration steps.
Each container service is build using dockefile in each version
folder.
ex: 12.0/
will contain dockefile needed for 12.0 odoo migration.
Simply clone this repo and make sure both docker
and docker compose
is installed.
git clone https://github.com/mcimam/odoo_open_upgrade_docker.git
-
Init container
Create container from compose
./migrate
-
Load database
Load database to docker container. For example suppose you have dump.sql as your backup file.
./migrate loaddb dump.sql
-
Run Migration
Run migration and specify your source and target version.
./migrate migrate 11.0 16.0
-
Restore Migration
Restore migrated database to
.sql
or.dump
file./migrate dump new_dump.sql
This repository is licensed under AGPL-3.0
.
However tools that being used in this software can be under different licenses :
Odoo
useLGPLv3
Odoo Open upgrade
useAGPLv3