Commit e582b1cc authored by mats Dufberg's avatar mats Dufberg
Browse files

Updated section on zonemaster database upgrade

* Updated links to new document file names.
* Added link to new document.
* Clarified instructions.
parent a1c60063
......@@ -29,24 +29,28 @@ instructions](https://github.com/zonemaster/zonemaster-engine/blob/master/docs/I
If you upgrade Zonemaster-Backend and want to keep the content of the database
(MySQL/MariaDB or PostgrSQL) then you should not reset the database when you
follow the installation instructions. In some cases you need to patch the
follow the [installation instructions]. In some cases you need to patch the
database when you update Zonemaster-Backend.
Always take a backup if the database is valuable.
Always take a backup first if the database is valuable.
Current version | Upgrade to version | Link to instructions
------------------------------------|----------------------------------------|--------------------------------------
Older than 1.0.3 | 1.0.3 or newer, but older than 1.1.0 | [upgrade-to-1.0.3]
At least 1.0.3 but older than 1.1.0 | 1.1.0 or newer, but older than 5.0.0 | [upgrade-from-1.0.x-to-1.1.x]
At least 1.1.0 but older than 5.0.0 | 5.0.0 or newer | [upgrade-from-4.0.x-to-5.0.x]
Current version | Link to instructions | Comments
------------------------------------|-----------------------|-----------------------
Older than 1.0.3 | [Upgrade to 1.0.3] |
At least 1.0.3 but older than 1.1.0 | [Upgrade to 1.1.0] |
At least 1.1.0 but older than 5.0.0 | [Upgrade to 5.0.0] |
At least 5.0.0 but older than 5.0.2 | [Upgrade to 5.0.2] | For MySQL/MariaDB only
To complete the upgrade follow the installation instructions below, except for creating
If the database was created before Zonemaster-Backend version 5.0.0, then you
have to upgrade in several steps.
To complete the upgrade follow the [installation instructions], except for creating
the database. If you instead want to start from an empty database, then you remove the database
and create a new database using the installations instructions.
and create a new database using the [installation instructions].
### Installation
Follow the detailed [installation instructions](docs/Installation.md).
Follow the detailed [installation instructions].
### Configuration
......@@ -81,6 +85,8 @@ The software is released under the 2-clause BSD license. See separate
[Configuration documentation]: docs/Configuration.md
[upgrade-to-1.0.3]: docs/upgrade-to-1.0.3.md
[upgrade-from-1.0.x-to-1.1.x]: docs/upgrade-from-1.0.x-to-1.1.x.md
[upgrade-from-4.0.x-to-5.0.x]: docs/upgrade-from-4.0.x-to-5.0.x.md
[installation instructions]: docs/Installation.md
[Upgrade to 1.0.3]: docs/upgrade_db_zonemaster_backend_ver_1.0.3.md
[Upgrade to 1.1.0]: docs/upgrade_db_zonemaster_backend_ver_1.1.0.md
[Upgrade to 5.0.0]: docs/upgrade_db_zonemaster_backend_ver_5.0.0.md
[Upgrade to 5.0.2]: docs/upgrade_db_zonemaster_backend_ver_5.0.2.md
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment