Self-Hosting Odoo in Dubai: Data Residency, Server Sizing, PostgreSQL Tuning and a Recoverable Backup Plan


The media in this post is not displayed to visitors. To view it, please log in.

A UAE company that wants Odoo on its own server usually has a clear reason: a contract that asks where the database will live, a policy that the company holds the keys, or other systems already running in a Dubai data centre. Those reasons are valid. Treating a virtual machine as a finished host is not. A self-hosted system is only safe when four things are written down and tested: where the data resides, how large the box needs to be, how PostgreSQL is tuned, and how you restore after a failure.

This guide covers those four decisions for a Dubai or wider UAE business. The choice between Odoo Online, Odoo.sh and your own server belongs in the first workshop and is set out on oxedge.com/odoo-erp-dubai/odoo-hosting. Once you have chosen your own server, the work below is what keeps invoices, inventory and payroll recoverable.

Planning the cost and the host of an Odoo system for a UAE company

What "self-hosted" actually commits you to

Odoo Online includes hosting in the subscription and cannot run custom modules. Odoo.sh is Odoo's platform for custom code, with staging, backups and monitoring, billed on top of the subscription. Your own server also needs the Custom plan if you will run Studio, multi-company, the external API or custom modules. The Custom plan is USD 32 per user a month (about AED 118). Odoo Standard is USD 16.90 on yearly billing (about AED 62), or USD 13.50 for the first 12 months. Those figures exclude 5% VAT and were checked on odoo.com on 20 October 2026. Licence cost is only part of the picture; Odoo ERP pricing in the UAE puts licence, Success Pack and a three-year budget in one place.

On your own server the licence is the smaller obligation. You, or a named operator, must patch the operating system, renew the TLS certificate, watch filestore disk space, run PostgreSQL backups, and keep a staging copy that is not the live company. If nobody will do that work, a self-hosted box is the wrong answer, even if a virtual machine is already paid for. Insist, in writing, that the subscription, the server account, the domain, the certificate, the backup store and the Git repository for any custom modules all sit in your company's name, with at least two people on your side who can log in. OXEDGE treats that ownership rule as part of hosting, not an afterthought.

Data residency for a UAE company

"The server is in the cloud" is not an answer a customer or an auditor can use. You need a city, a provider and a written note of what is replicated where.

What to write down before you rent a box

  • [
]The country and, if possible, the city of the primary data centre. A nearby region is not the same as "in the UAE".[]Whether the database, the filestore (attachments, scanned invoices, delivery notes) and the backups live in the same country. A nightly copy that silently lands elsewhere can undo the residency decision.[]Who can reach the server: a VPN or jump host, or a public HTTPS port firewalled to your office and the implementer.[]Which personal data the system holds — employee records, customer contacts, delivery addresses and, if payroll is in scope, WPS-related information.Whether a customer contract, a bank or a sector regulator has already named a required country. If they have, the host must match it before go-live, not after the first live invoice.

UAE federal data protection rules, and any extra terms in a free-zone or sector contract, are legal questions. This article is operational guidance, not legal advice. Ask the question early, write the answer into the scoping notes, and refuse a "we will move it later" plan. Moving a live Odoo database and its filestore is a project of its own. A primary server in Dubai with an unmanaged backup bucket in another country is not a UAE-only system, and the same applies if a support vendor takes a full copy onto a laptop. Write those rules into the handover, and if residency is why you rejected Odoo Online or Odoo.sh, check the actual region of those platforms, then keep the backups inside the same rule.

Server sizing that holds up after go-live

Odoo is a PostgreSQL application with a filestore on disk and worker processes in front. Undersizing shows up as slow invoice searches, stuck stock moves, or a week-end close that overruns. Oversizing is cheaper than discovering in month two that the box cannot take payroll and stock together.

A starting point, not a promise

Exact sizing depends on the apps you turn on, concurrent users, and whether heavy reports or website traffic share the machine. As a starting point for a UAE SME, not a data-centre design:

  • [
]Up to about 15 daily users, standard apps, few attachments: 4 vCPU, 8 GB RAM, fast SSD, 100 GB or more for the filestore, with PostgreSQL on the same box to begin.[]15 to 40 users, inventory plus accounting, regular attachments: 8 vCPU, 16 to 32 GB RAM, SSD with headroom, and a serious look at putting PostgreSQL on its own box or at least a dedicated disk.Above that, or if the website, e-commerce or heavy custom modules share the system: split the web workers from the database, and plan monitoring before go-live.

Split the disk between the operating system, the PostgreSQL data directory and the Odoo filestore; attachments from delivery notes and invoice PDFs fill a small disk quietly.

Workers, RAM and what not to share

Odoo workers hold memory. Size the worker count from the CPU, then check on staging that a normal morning of quotations, receipts and invoices still leaves free RAM for PostgreSQL. Do not run a second heavy application on the same 8 GB machine; month-end reports need headroom at the moment a finance team can least wait. A staging server should be a recent copy of production, not a tiny box that cannot run the same report. The implementation sequence on oxedge.com/odoo-erp-dubai/odoo-implementation-process still applies: scope, then build and test, then a cut-over, usually at a month start.

Comparing ERP options before you commit to a self-hosted Odoo server

PostgreSQL tuning that matters in practice

Default PostgreSQL settings will run a small Odoo database, but they will not stay comfortable once inventory moves, invoice lines and attachments have a year of history. You need a short written configuration and a way to see when it is wrong.

Memory and checkpoints

  • [
]shared_buffers is often set around a quarter of the machine's RAM when PostgreSQL shares the box with Odoo, and higher on a dedicated database host, so frequent invoice and stock lookups come from memory.[]effective_cache_size should reflect the RAM the operating system can use for file cache. A leftover default on a 32 GB server is a common miss.[]work_mem is per operation, not per server. Set it too high and a handful of month-end reports can exhaust RAM; set it too low and sorts spill to disk. Change it in small steps and watch the logs.[]maintenance_work_mem helps vacuum, index builds and restores, and can be higher than work_mem because those jobs are fewer.Checkpoint and WAL settings decide how often PostgreSQL flushes to disk. Poor defaults show up as periodic stalls on a busy morning, not as a constant slowdown.

Connections, vacuum and a pooler

Odoo opens a database connection per worker, and sometimes more for cron. max_connections should cover workers, admin and a backup job. When the worker count grows, put PgBouncer or an equivalent pooler in front rather than raising max_connections without a plan. Autovacuum must stay on: stock and invoice tables will bloat if it cannot keep up. Watch those tables, and the slowest queries with pg_stat_statements, every week rather than once at install. After a large import, or a migration from Tally, Sage, Zoho or Excel, reindex and analyse the affected tables on staging first. Migration work is described on oxedge.com/odoo-erp-dubai/odoo-migration.

TLS, the reverse proxy and who can reach the server

Users should only ever see HTTPS. The usual pattern is Nginx or Caddy as a reverse proxy, terminating TLS and forwarding to the Odoo workers on localhost. Use a certificate from a public CA (Let's Encrypt is the common free path) and automate renewal. A certificate that expired on a Thursday morning is a preventable outage.

Once HTTPS is stable, turn on HSTS, disable old TLS versions, and keep PostgreSQL and SSH off the public internet, behind a VPN or allow-list. Close unused database-manager screens. The proxy cannot replace application permissions, two-factor authentication for administrators, or a short list of people who may install modules. Custom modules live in your repository and are deployed through staging, not copied by hand onto the live box. That process sits with oxedge.com/odoo-erp-dubai/odoo-development.

Licence and infrastructure cost should be planned together for a self-hosted Odoo system

Backups and disaster recovery you can actually use

A snapshot of the virtual machine is not, by itself, a restore plan. Odoo has two stores that must be consistent: the PostgreSQL database and the filestore. Restore one without a matching copy of the other and attachments will not match invoices.

What to back up, and how often

  • [
]A nightly (or more frequent) PostgreSQL backup: a logical dump, or a physical backup with WAL archiving if your recovery point must be measured in minutes rather than hours.[]The filestore taken at the same moment, or with a method that keeps it consistent with the database dump.[]The Odoo configuration, the reverse-proxy configuration, the systemd units, and the exact versions of Odoo, Python packages and custom modules.[]A copy of the backup in a second location that still obeys your residency rule. A second disk in the same server is not offsite.

Write the recovery point and recovery time you actually need. A trading company that invoices all day may not accept a 24-hour data loss; a small professional firm might. The backup method has to match that number, not a default cron job that has never been read.

The restore test is the backup

Before go-live, and then at least quarterly, restore the latest backup onto staging or a temporary server. Confirm that administrators can log in, that yesterday's invoices and attachments are present, that scheduled actions are disabled so the copy does not email customers, and that a key user can open a quotation. Write the steps so two people in the company can follow them without the implementer. The same rule applies to DNS, the TLS certificate and the account that can rebuild the machine.

What a bad day looks like

Plan for three failures: a disk or instance loss, a bad module or failed upgrade, and a ransomware or stolen-credential event. The third may need a copy that the live server's credentials cannot alter, so the offsite backup should use a separate account and, where possible, immutability for a defined number of days. Month-end, VAT return week and WPS payroll week are the worst times to discover a hole in this plan. E-invoicing adds another dependency: Odoo raises the invoice and an Accredited Service Provider sends it. Test that connection on staging too. The note at what UAE businesses must do for e-invoicing is guidance, not tax advice; businesses with AED 50 million or more in revenue had to appoint a provider by 30 October 2026 and must go live on 1 January 2027, with later dates for smaller firms.

Trading and project operations that need a recoverable Odoo database and filestore

A compact checklist before you go live on your own server

  • [
]The Odoo subscription, the server, the domain, the certificate and the backup store are in your company's name, with two internal administrators.[]The data-centre country is written down, and backups do not quietly leave that country if residency matters.[]Sizing has been tried with a realistic copy of data and of concurrent users, including month-end reports.[]PostgreSQL memory, checkpoints, autovacuum and connection limits have been set on purpose, and slow queries are being watched.[]HTTPS terminates at a reverse proxy, certificates renew automatically, and SSH plus PostgreSQL are not on the public internet.[]A backup of the database and the matching filestore has been restored once, by someone in your company, and the steps are written down.[]A staging copy exists for upgrades, imports and custom modules. Odoo gives each major version three years of standard support; test upgrades on a copy first.[]UAE VAT, WPS data if payroll is in scope, and the e-invoicing connection have been tried on staging.

Payments for set-up work typically run in milestones of 40%, 40% and 20%, with 30 days of free bug fixes after go-live, excluding 5% VAT. Use those thirty days to confirm that backups still run and that the named administrators can reach the box without the implementer.

FAQ

Is a UAE data centre always required?

Not always, but it is a question you should answer in writing before you rent the server. Some companies need it because of a contract or a policy; others may use a nearby region. If you do need it, the backups and any replica have to follow the same rule.

Do we still need staging if we have good backups?

Yes. Backups recover you after a failure. Staging is where you try an upgrade, a module or a large import before it touches live invoices. They solve different problems, and you need both.

Who should be able to restore the system?

At least two people in your company, plus a written procedure that has been used at least once. If the only person who has ever restored is an external implementer, the plan is incomplete.

How does self-hosting change the cost of custom work?

Custom code still carries yearly upkeep of about 25% of the build cost, because each version upgrade needs a check on a copy. Self-hosting adds the server, monitoring and backup work on top. A cheap module on a box with no staging and no restore test is not cheap.

Talk to OXEDGE

If you are deciding whether your own server is the right home for Odoo, or you already have a box and no tested restore, a short scoping workshop is the next step. Oxedge Solutions helps UAE businesses choose a host, size it, and put backups and staging in the company's name. The hosting page is oxedge.com/odoo-erp-dubai/odoo…

Oxedge
Office # 208, Bu Shaqer Building, Al Garhoud, Dubai - 127902
Phone: +971 50 815 3521
Email: info@oxedge.com
Hours: Monday–Saturday 9am–5pm, Sunday closed
oxedge.com/odoo-erp-dubai/odoo…

LBC parcel delayed? How I check what's happening


My LBC parcel was two days late last month, and the only thing that kept me calm was being able to see where it actually was. The tracker showed it sitting at a sorting hub after a holiday weekend — not lost, just queued. That is the thing most people miss: the status only changes when the parcel is scanned, and between scans nothing happens on screen even though the parcel is moving. If your parcel seems stuck, check the latest scan time before worrying. I use the lbc tracking number lookup for this — type the number in and you get the last known location and status. If the status has not moved for three or four days past the expected date, call the branch with the number ready; they can see more detail than the public page shows.

Unus Nemo reshared this.

Randomly came across the movie called “Dark Passage” from 1947. And it is a gem! True, there are some things that look a little silly, but I was too amazed by the first person view, constant danger for the hero and the great acting to care.

The director does a great job in following the “show, don’t tell” rule. It’s a good material to study for storytellers.

imdb.com/fr-ca/title/tt0039302…

Unus Nemo reshared this.

Yerba Mate


A friend of mine, that happens to be a neurologist, mentioned Yerba Mate as an alternative or supplement to coffee in the energy drink world. Caffeine has never had that much of an affect on me, it may be the vast amounts I consume regularly that mute my perception of its influence ;-). So I decided to give Yerba Mate a try. I went to Amazon and purchased a gourd, bombilla and some Cruz De Malta Yerba Mate. I truly enjoy this beverage. At home I prepare my Yerba Mate the traditional way in a gourd. On the run I bought this great Tuma Tu Mate Automate Self-Serving Yerba Mate Kit and it is truly amazing. This thermos design works great and delivers a quality Mate on the run. I am very impressed by the innovation.


Has anyone else tried Yerba Mate? Or another interesting beverage? This is the site I used to learn about preparing Yerba Mate for those interested.



Unus Nemo


Tips & Donations


#Yerba Mate #yerbamate #Mate

Melissa BearTrix reshared this.

Continuing their streak as the party of stupid...

To all the Millenials and Gen-Zs, a request from an old X:

Please stop yelling "Let's Go!" whenever something works. I share your enthusiasm, but after a half-century of "Let's go" meaning " I want you to get moving toward our goal", I'm just too damned old to internalize your weird new meaning, and I don't want to go anywhere. And yes, I figure it out after 3 seconds of processing, but by that time I'm completely distracted from what we were talking about...

My Moniker ~ Unus Nemo


In Latin unus nemo is a phrase that means no one. Though, there is more to my moniker than just accepting that I am no one. Unus means one and nemo means nobody and both individual words are as meaningful to me as the phrase. I am One meaning that I am self-fulfilling and require no other components to be me. The influences of others and their behavior do not depict or control who I am. I am Nobody because in the universe I have a very finite time of existence and when I am gone, I am. The only significance I hold is to my own reality that is a construct of what I accept from my environment as true or at least rational in relation to non-falsey topics.


First and foremost I consider myself to be a humanitarian as I have a great appreciation for humanity, if not so much for our societies current evolution. I am a software architect, developer, poet, mathematician and much more. I have a profound love of life and I believe that humanities purpose is to learn to enjoy it. After all if you fail to enjoy your life what else matters? You have failed. I am labeled an atheist as I do not believe in a god that is in a relationship with its creation nor that there is a god at all. I have been strongly influenced, from a philosophical point not a spiritual point, by secular Buddhism. I do not believe in anything spiritual. I believe their are those things we know. Those things we are still learning about and things we know nothing about yet. There is no room in my ideology for the concept of natural and supernatural. In my belief everything is natural that fits into one of the categories I previously mentioned. Like everyone, I have opinions. Unlike most it is not important to me that you value my opinions. My reality is not yours and vice versa. We did not live through the same environmental conditions and learn our views (opinions) of them together and come to a consensus or agreement of any kind. It is not that I do not value your opinion. It is just not mine, as in it does not belong to me. It belongs to you and is a part of your ideology. That does not mean it is not valuable. It just has no metric in my life. Likewise I understand that the same rational applies to my own opinion. Hence my not feeling a need to have people agree with my opinions (view, ideology).


Well that is very least I can describe who I am. Of course I could break it down even further and get into even more details. Though I suspect no one has even read this far 😉. So why continue? Take care of who you are and enjoy your life!


Unus Nemo


Tips & Donations


#Moniker #Unus Nemo #No One #Philosophy of Self #Philosophy


@StarkRG @Melissa BearTrix

Totally, definitely not in anyway connected to all the other problems with other computer networks "being too old, but definitely not attacked using AI tools" lately!

"Highly classified US national security communications network goes down, sources say | CNN Politics"
lite.cnn.com/2026/11/17/politi…

reshared this

Chu Ming Silveira: meet the architect who created the orelion


Chu Ming Silveira: meet the architect who created the orelion

blog.archtrends.com/chu-ming-s…

Rogue Project's Friendica Federation


Okay, time for a post of our current Federation stats. Please keep in mind that this is how well (or poorly) Rogue Project's Friendica federates and is not indicative of the entire Fediverse.



Unus Nemo


Tips & Donations


#RogueProjectsFriendicaFederation #Rogue Projects Friendica Federation

The media in this post is not displayed to visitors. To view it, please log in.

Love


A very good question indeed.


Unus Nemo



New comic strip found:

Archie by Fernando Ruiz & Craig Boldman for Sat, 14 Nov 2026 arcamax.com/thefunnies/archie/…
#comic #comicstrip #archie #archiecomics


core77.com/posts/145762

Unus Nemo reshared this.

Vampires!


OKay, so today at work me and a co-worker were talking about how vampires die if you drive a wooden stake through their heart. So we decided to test if another co-worker was a vampire. We drove a wooden stake stake through their heart, and they died! There you go! Definitive proof that vampires exist!


Uhm, by the way, if anyone needs a job we have an opening ;-).


Unus Nemo


Tips & Donations


#humour #Dark Humour #DarkHumor #Vampires

in reply to Unus Nemo

@Unus Nemo The Witch hunt

edit!
Suspects were often examined for the "Devil’s mark" such as moles, warts, or scars, which were tested by pricking with needles to see if the accused felt pain.
study.com/academy/lesson/witch…

Accused individuals were subjected to perilous tests, such as the "swimming" test (judicium aquae frigidae), where they were thrown into water; floating indicated guilt because the water rejected them, while sinking was proof of innocence (though many drowned).
courses.lumenlearning.com/atd-…

This entry was edited (Thursday, November 12, 2026, 2:11 PM)

Unus Nemo reshared this.

⇧