Toggle navigation

在线数据库管理

若要管理数据库,请访问`database management page <https://www.odoo.com/my/databases>`(您必须登录)。然后单击`Manage Your Databases <https://www.odoo.com/my/databases/manage>`按钮。

Make sure you are connected as the administrator of the database you want to manage - many operations depends on indentifying you remotely to that database.

有几种措施可供选择:

  • 升级
    将您的数据库升级到最新的Odoo版本,以享受最先进的功能
  • 复制
    如果你想在不影响日常操作的前提下试用新的应用程序或新的流程,就要制作一份数据库的精确副本
  • 重命名
    重命名数据库(及其URL)
  • 备份
    下载数据库的即时备份;请注意,我们每天都根据我们的Odoo Cloud SLA备份数据库
  • Domains
    Configure custom domains to access your database via another URL
  • 删除
    立即删除数据库
  • 联系支持
    访问我们的`支持页面 <https://www.odoo.com/help>`__ 已选择正确的数据库

升级

Odoo定期(至少每年一次)发布新版本,作为Odoo线上体验的一部分,升级数据后可以体验Odoo的新特征。

The upgrade process can take some time, especially if you use multiple apps or apps that manage sensitive data (e.g. Accounting, Inventory, etc.). In general, the ‘smaller’ the database, the quickest the upgrade. A single-user database that uses only CRM will be processed faster than a multi-company, multi-user database that uses Accounting, Sales, Purchase and Manufacturing.

Unfortunately, it is impossible to give time estimates for every upgrade request, since Odoo.com will test manually every database upgrade at least once and will need to correct/adapt changes made to the standard Odoo Apps (e.g. through Studio or through a Success Pack) on a case-by-case basis. This can make the process slower, since requests are treated in the order they arrive. This is especially true in the months following the release of a new major version, which can lengthen the upgrade delay significantly.

The upgrade process is quite simple from your point of view:

  1. You request a test upgrade
  2. Once all tests have been validated by you, you upgrade your actual database

The process to request a test or a production (actual) upgrade is the same.

First, make sure to be connected to the database you want to upgrade and access the database management page.

On the line of the database you want to upgrade, click on the “Cog” menu. If an newer version of Odoo is available, you will see an ‘Upgrade’ button.

You have the possibility to choose the target version of the upgrade. By default, we select the highest available version available for your database; if you were already in the process of testing an upgrade, we will automatically select the version you were already testing (even if we released a more recent version during your tests).

By clicking on the “Test upgrade” button, an upgrade request will be generated. Only one request can be made at time for each database; if a request has already been made, you will see an ‘Upgrade Queued’ note instead and asking another request will not be possible.

A test upgrade will create a copy of your database, upgrade it and make it available to you automatically once successful. If this is the first test you request for this particular database, a manual testing phase will be done by Odoo.com - this could take time (up to several weeks). Subsequent requests will not go through that manual testing step and will usually be made available in a few hours. Once the test database is available, you should receive an e-mail with the URL of the test database.

Testing your database is the most important step of the upgrade process! Even though we test all upgrades manually, we do not know your work processes. A change in standard worfklows of Odoo in new versions might require you to change internal processes, or some of the customizations you made through Odoo Studio might now work properly. It is up to you to make sure that everything works as it should! You can report issues with your test database through our Support page.

Make sure to do one last test of your upgrade right before the final upgrade (e.g. the day before) to ensure everything will run smoothly. Downgrading is not possible and post-poning an upgrade is always easier than being prevented to work by an upgrade issue after the fact!

Once you are ready and you have validated all your tests, you can click again on the Upgrade button and confirm by clicking on Upgrade (the button with the little rocket!) to switch your production database to the new version. Your database will then be taken offline within the next 10 minutes and will be upgraded automatically; you receive a confirmation e-mail once the process is completed.

复制数据库

在你想要复制数据库的那一行,你会发现几个按钮.请点击**Duplicate**复制你的数据库.在弹出的窗口中输入数据库副本名字,然后点击**Continue**.

几秒钟之后你就可以登录数据库副本了.请注意你可以在浏览器地址栏里看到数据库副本的名字.

重命名数据库

To rename your database, make sure you are connected to the database you want to rename, access the database management page and click Rename. You will have to give a new name to your database, then click Rename Database.

删除数据库

您只能删除您是管理员的数据库。

From the database management page, on the line of the database you want to delete, click on the “Delete” button.

Read carefully the warning message that will appear and proceed only if you fully understand the implications of deleting a database:

After a few seconds, the database will be deleted and the page will reload automatically.