2. Agenda
● Why to do Odoo Migration.
● How to migrate your instance.
● Migration challenges.
● Migration Script.
● Requirements to work with the script.
● A demo, run the script and test the results.
● Contact me.
3. Why to do Odoo Migration ?
● Upgrade Odoo to a newer version.
● Downgrade Odoo to an older version.
● Upgrade PostgreSQL.
● If enterprise, migrate to community.
4. How to migrate your instance
● Migrate the code (Modules).
● Migrate Database.
5. Migration Challenges
● Migrate the business logic.
● Migrate the data to fit with new business
logic.
● Migrate setting data (ir.property)
● Migrate attachments.
● Migrate social logs (Emails, notifications, followers,...etc).
● If issues, repeat data migration many times.
6. Migration Script
● Made the data migration easier.
● Move the attachments in no-time.
● Migrate the data anywhere, unlimited times:
○ Local → Remote
○ Remote → Local
○ Local → Local
○ Remote → Remote
7. Migration Script
● Versions of Odoo and PostgreSQL make no
difference:
○ Odoo 8.0 → Odoo 10.0
○ Odoo 12.0 → Odoo 11.0
○ Odoo x.x CE → Odoo x.x EE
○ Odoo x.x EE → Odoo x.x CE
○ PostgreSQL 9.x → PostgreSQL 10.x
○ PostgreSQL 10.x → PostgreSQL 9.x
8. Migration Scenarios
● Migrate to testing environment, until getting
an approval.
● Migrate to training environment(s).
○ Feel free to train the users, they can corrupt data
with no worries.
● Migrate to production environment(s).
○ If migrated now, but started to use it after a while.
You might need to migrate the updated data.
9. Migration Requirements
● The source DB, will be used as a source of
data.
● The modules for source and target: (For
testing)
○ Odoo 9.0 → Odoo 11.0
● Data distortion is OK. (Keep your secrets ;) )
● Your patience for the next 24 hours ;)