Key takeaways
- An Odoo database is one complete company system: its apps, settings, users and records live together in it.
- Odoo Online is the quickest way to create a database; installing Odoo yourself gives full control but needs Python 3.12 or later and PostgreSQL 16 or later for Odoo 20.
- On a self-hosted Odoo, the database manager creates, backs up, duplicates and deletes databases, protected by a master password.
- Use demo data on a learning database only; a live database should start clean.
- Set a long random master password, and disable the database manager on any server that faces the internet.
Part of our guide: Odoo implementation guide: how to implement Odoo ERP from scoping to go-live
What is an Odoo database?
An Odoo database is one complete copy of your company's system: the apps you installed, your settings, your users and every customer, product, order and invoice. When people say they have "an Odoo", they usually mean one database. You can have several, for example a test database to learn on and a live database for real work, and each one is completely separate from the others.
This is chapter 2 of Digihub's Odoo guide for beginners. If you are new to Odoo, start with chapter 1: What is Odoo?, which explains the apps and how they share data. This chapter shows how to get your first database running, with screenshots from Odoo 20.
Where should you create your first Odoo database?
You can create an Odoo database in three places: on Odoo Online, on Odoo.sh, or on your own computer or server. For a beginner who only wants to learn, Odoo Online or a local install on a laptop is enough. The right home for a live company database is a bigger decision, covered in our comparison of Odoo Online, Odoo.sh and self-hosting.
| Option | Best for | What you need |
|---|---|---|
| Odoo Online | Learning fast, small companies using standard apps | A web browser, an email address and a phone number for the code |
| Odoo.sh | Companies with custom modules on Odoo Enterprise | A GitHub account and an Odoo Enterprise subscription that includes Odoo.sh |
| Your own computer or server | Odoo Community, full control, private hosting | A machine to install Odoo on, plus PostgreSQL, and someone to maintain it |
How do you create a database on Odoo Online?
You create an Odoo Online database by filling in the sign-up form on Odoo's free trial page (opens in a new tab). Odoo describes it as free instant access with no credit card required. When the form is done, Odoo creates the database on its own servers and opens it in your browser.
The form asks for these details, so have them ready:
- Your first and last name, and your company name.
- The web address of your database, which ends in .odoo.com (you can rename it later from the database settings).
- Your email address and phone number. Odoo sends a 6-digit code by SMS to confirm the phone.
- Your country, your company size and why you want Odoo, for example to use it in your own company.
- The apps you want to start with. Pick one or two; you can add more at any time.
How do you install Odoo on your own computer or server?
To run Odoo yourself, first install it, then create the database from the database manager. Odoo's on-premise documentation (opens in a new tab) lists packaged installers for Windows and Linux, and a source install. Odoo also maintains an official Docker image (opens in a new tab) with Odoo 20 tags, which needs a separate PostgreSQL server.
Pick the method that matches what you want to do. A Windows installer is fine for learning on a laptop, but Odoo's own packaged installer page (opens in a new tab) warns that using it for production is discouraged. For a live company system, a Linux server or Docker is the usual choice; our guide to Odoo Docker deployment shows a production-ready setup.
| Method | Good for | Notes |
|---|---|---|
| Windows installer | Learning and demos on a laptop | Includes everything to start; not recommended for production |
| Linux packages (.deb, .rpm) | A simple live server | Odoo lists Ubuntu 24.04 and Fedora 42 packages |
| Source install | Developers and custom setups | Needs Python 3.12 to 3.14 and PostgreSQL 16 or later |
| Docker image | Repeatable server setups | Official image on Docker Hub; runs next to a PostgreSQL container |
How do you create a database with the Odoo database manager?
On a self-hosted Odoo, you create a database from the database manager at /web/database/manager on your Odoo address, for example http://localhost:8069/web/database/manager on a laptop install. The screen lists your databases and has buttons to create, restore, back up, duplicate and delete them.
Click Create Database and fill in the form. Each field matters more than it looks:
- Master Password: the password that protects the database manager itself, not your user password. On a new install it is "admin" until you change it.
- Database Name: a short name with no spaces, such as demo_traders. It cannot be changed easily later, so choose it with care.
- Email and Password: the login of the first administrator user of this database. Use a real email and a strong password, even on a test database.
- Language and Country: the country sets the company's currency straight away, and Odoo loads the matching chart of accounts and taxes when you install Invoicing or Accounting. In our screenshots, Pakistan sets the currency to Pakistani rupee (PKR).
- Demo Data: tick it for a learning database so every app comes with sample customers, products and orders. Leave it unticked for a live database.

- Create Database: opens the form to make a new, empty database. The fields of that form are explained below.
- Backup, Duplicate and Delete: act on the database in that row. Backup downloads a zip file, Duplicate makes a copy under a new name for safe testing, and Delete removes the database forever.
- Set Master Password: changes the password that protects this screen. Change it on day one, because anyone who knows it can copy or delete your databases.

What do you see after you create the database?
A new Odoo database opens on the Apps screen, because no business apps are installed yet. This surprises many beginners: Odoo starts almost empty and you add only the apps you need. Click Activate on an app, such as Sales or CRM, and Odoo installs it, along with any other apps it depends on.
Next time, you log in from the login page of your database with the email and password you entered in the form. The company is named My Company at first, because the form does not ask for a company name. You will change it, along with the logo and address, when you set up your company.

- Activate: installs that app. Start with the one or two apps you need, such as Sales or Invoicing, and add more later.
- The grid icon: opens the apps menu. It shows your installed apps once you have activated some.

- Email and Password: the administrator login you typed when you created the database. Each user later gets their own login.
- Log in: opens Odoo. If you forget the password, the administrator can reset it from Settings, Users.
Should you load demo data? Test database vs live database
Load demo data only on a database you use to learn or test. Demo data fills every app with sample companies, products, quotations and invoices, which makes it much easier to see how the screens and reports work. It is hard to remove cleanly, so a live database should always be created without it.
Most companies keep at least two databases during an Odoo project: a test database to try settings and imports, and a live database that receives only checked, clean data. Our Odoo implementation guide explains how the two are used during a rollout.
How do you back up, duplicate and delete an Odoo database?
On a self-hosted Odoo, the database manager backs up a database as a zip file. Keep "Include filestore" ticked so the backup holds attachments and images as well as the data; a backup without them restores records but not their files. Duplicate makes a copy under a new name, which is the safest way to test something risky.
On Odoo Online, the same actions are in the database settings. Odoo's Odoo Online documentation (opens in a new tab) says databases are backed up daily and that you can download a backup as a zip file. Duplicates expire after 15 days, with a maximum of five per database. A deleted database cannot be restored, so download a backup first.
A backup only helps if it restores. Our guide to backup restore testing gives a simple monthly routine to prove your backups work before you need them.

- Backup format: choose zip. A zip backup holds the database and, if you keep the next box ticked, all the files. The other format, pg_dump, saves only the database itself.
- Include filestore: keep it ticked so the backup also holds attachments, images and PDFs. Without it, a restored database has the records but not their files.
How do you keep the Odoo database manager safe?
Anyone who knows the master password can download or delete every database on the server, so treat it like the key to the building. Odoo's system configuration guide (opens in a new tab) says the database manager is a development and demo tool, not designed for production, and strongly recommends disabling it on any internet-facing system.
- Change the master password from the default "admin" to a long random value as soon as Odoo is installed.
- On a live server, set list_db = False in the Odoo configuration file, which hides the database manager and the Manage Databases link.
- Create new databases and run backups from the server itself, with automatic backups stored away from the server.
- Give each user their own login. Never share the administrator account.
- Use HTTPS for any Odoo that people reach over the internet.
What mistakes do beginners make with their first Odoo database?
Most early problems come from a few avoidable choices. Watch for these:
- Loading demo data into the database that later becomes the live system.
- Picking the wrong country, which loads the wrong currency, chart of accounts and taxes.
- Leaving the master password as "admin" on a server that is reachable from the internet.
- Installing every app on day one instead of the one or two that solve the main problem.
- Never taking a backup, or never testing that a backup restores.
- Running a live company on a Windows test install that was meant only for learning.
What comes next in this Odoo guide?
Once you create an Odoo database and log in, chapter 3 shows how to use Odoo day to day: the screens, menus, views and search. Later chapters set up your company, users and access rights and contacts, then each app, starting with CRM and Sales.
If you want a database set up for a real company, with the right hosting, backups and security from day one, our Odoo implementation team can do it. Odoo.sh hosting and deployment covers companies that need custom modules.
Sources and further reading
Official documentation and guidance if you want to read more about this topic.
- Odoo free trial sign-upOdoo (opens in a new tab)
- On-premise installationOdoo documentation (opens in a new tab)
- Packaged installersOdoo documentation (opens in a new tab)
- Source installOdoo documentation (opens in a new tab)
- System configuration and database manager securityOdoo documentation (opens in a new tab)
- Odoo Online database managementOdoo documentation (opens in a new tab)
- Create your Odoo.sh projectOdoo documentation (opens in a new tab)
- Official Odoo imageDocker Hub (opens in a new tab)
Related guides and services
Questions readers ask
Can I create an Odoo database for free?
Yes. Odoo Online offers free instant access without a credit card, and its One App Free plan keeps one app free with unlimited users. You can also install Odoo Community on your own computer and create as many databases as you like without a license fee. Running a live database still has costs for hosting, backups and support.
What is the Odoo master password?
The master password protects the Odoo database manager, the screen that creates, backs up, duplicates and deletes databases. It is different from your user password. On a new self-hosted install it is "admin" until you change it, and Odoo's documentation says to set it to a random value and to disable the database manager on internet-facing servers.
Should I tick demo data when creating an Odoo database?
Tick demo data only for a database you use to learn or test. It fills every app with sample customers, products and orders so you can practice. Never use it on the database that will run your real company, because removing demo records cleanly is hard. Create a separate, empty database for live use.
How many Odoo databases can I have?
On your own server you can create as many databases as the server can handle, each fully separate. On Odoo Online, each subscription covers its own database, and Odoo's documentation allows up to five test duplicates per database, each expiring after 15 days. Most companies need one live database and one test database.
What do I need to install Odoo 20 myself?
For a source install, Odoo 20 needs Python 3.12 to 3.14 and PostgreSQL 16 or later. Odoo also offers a Windows installer, which suits learning on a laptop but is not recommended for production. There are also Linux packages for Ubuntu 24.04 and Fedora 42, and an official Docker image that runs next to a PostgreSQL server.
Can I move my Odoo Online database to my own server later?
Yes. Odoo Online lets you download a backup of your database as a zip file, which can be restored on another Odoo server of the same version. Odoo Online databases run Odoo Enterprise, so the new server needs the Enterprise edition too. Test the restore on a copy before you switch, and plan the move as a small project.
