This repository has been archived by the owner on Feb 13, 2023. It is now read-only.
forked from lucierybickovajavorska/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7a13cc8
commit 0a3b699
Showing
13 changed files
with
27 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Export & import of Zerops projects and services structure | ||
|
||
Zerops export and import functionality can be used to make a copy of an existing project/service or as an alternative to adding a new project/service manually through the Zerops GUI. It is important to note that only structure, configuration, and environment variables are exported/imported. Restoring application data related to databases ([PostgreSQL](/documentation/services/databases/postgresql.html#how-to-backup-restore-database-data), [MariaDB](/documentation/services/databases/mariadb.html#how-to-backup-restore-database-data), [KeyDB](/documentation/services/databases/keydb.html#how-to-backup-restore-database-data)), storage ([Object Storage](/documentation/services/storage/s3.html#using-rclone-as-a-local-management-tool), Shared Storage), and engines ([RabbitMQ](/documentation/services/message-brokers/rabbitmq.html#how-to-backup-restore-queues-data)), deploying applications, and setting up [public routing](/documentation/routing/using-your-domain.html) is up to the specific user. | ||
Zerops export and import functionality can be used to make a copy of an existing project/service or as an alternative to adding a new project/service manually through the Zerops GUI. It is important to note that only structure, configuration, and environment variables are exported/imported. Restoring application data related to databases ([PostgreSQL](/documentation/services/databases/postgresql.html#how-to-backup-or-restore-database-data), [MariaDB](/documentation/services/databases/mariadb.html#how-to-backup-or-restore-database-data), [KeyDB](/documentation/services/databases/keydb.html#how-to-backup-or-restore-database-data)), storage ([Object Storage](/documentation/services/storage/s3.html#using-rclone-as-a-local-management-tool), Shared Storage), and engines ([RabbitMQ](/documentation/services/message-brokers/rabbitmq.html#how-to-backup-restore-queues-data)), deploying applications, and setting up [public routing](/documentation/routing/using-your-domain.html) is up to the specific user. | ||
|
||
[[TOC]] | ||
|
||
|
@@ -109,7 +109,7 @@ Comprehensive table of available types: | |
|PostgreSQL |postgresql@12 | | ||
|MariaDB |[email protected] | | ||
|KeyDB |keydb@6 | | ||
|Node.js |nodejs@16, nodejs@14, nodejs@12 | | ||
|Node.js |nodejs@16, nodejs@14 | | ||
|Golang |golang@1 | | ||
|PHP+Apache |[email protected]+2.4, [email protected]+2.4, [email protected]+2.4 | | ||
|PHP+Nginx |[email protected]+1.20, [email protected]+1.20, [email protected]+1.20 | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,13 +37,13 @@ services: | |
#### Which version to choose | ||
You can currently only choose MariaDB version **v10.4** (version 10.4.24 to be precise). | ||
You can currently only choose MariaDB version **v10.4** (version 10.4.24, to be precise). | ||
Used as the export & import type: ==`[email protected]`== . | ||
|
||
<!-- markdownlint-disable DOCSMD004 --> | ||
::: tip Changing version | ||
Switching must be done manually by creating a new service with another version and migrating data using a [backup / restore](#how-to-backup-restore-database-data) pattern. | ||
Switching must be done manually by creating a new service with another version and migrating data using a [backup / restore](#how-to-backup-or-restore-database-data) pattern. | ||
::: | ||
<!-- markdownlint-enable DOCSMD004 --> | ||
|
||
|
@@ -154,7 +154,7 @@ A new database with the name based on the selected **hostname** is created durin | |
* Zerops will only automatically scale the database [vertically](/documentation/automatic-scaling/how-automatic-scaling-works.html#vertical-scaling) (both in non-HA and HA mode). | ||
* The [horizontal autoscaling](/documentation/automatic-scaling/how-automatic-scaling-works.html#horizontal-scaling) in HA mode is not applied because of optimal performance. | ||
|
||
## How to backup / restore database data | ||
## How to backup or restore database data | ||
|
||
### Using your favorite database management tool | ||
|
||
|
@@ -265,7 +265,7 @@ You can also force synchronization to wait for causality checks on a cluster by | |
|
||
Each container has separate local disk space, which can theoretically be used by appropriate APIs of the database service and thus store data outside the replicated contents of the database. It should be noted that such data is only reserved for this particular instance, not mirrored across the MariaDB Galera cluster, nor is it backed up. It will not be migrated if such a container is deleted due to failure. Also, separate direct access to an individual MariaDB instance is not supported in any way. | ||
|
||
We don't recommend using any functionality of [SELECT INTO OUTFILE](https://mariadb.com/kb/en/select-into-outfile), [SELECT INTO DUMPFILE](https://mariadb.com/kb/en/select-into-dumpfile), [LOAD_FILE](https://mariadb.com/kb/en/load_file), or [LOAD DATA](https://dev.mysql.com/doc/refman/8.0/en/load-data.html). You can't save/load such data directly to/from any shared storage, and in the Galera HA cluster environment, it is impossible to predict which container the selected data will be stored on. Instead, use the the [export/import](/documentation/services/databases/mariadb.html#how-to-backup-restore-database-data) mechanism's standard functionality. | ||
We don't recommend using any functionality of [SELECT INTO OUTFILE](https://mariadb.com/kb/en/select-into-outfile), [SELECT INTO DUMPFILE](https://mariadb.com/kb/en/select-into-dumpfile), [LOAD_FILE](https://mariadb.com/kb/en/load_file), or [LOAD DATA](https://dev.mysql.com/doc/refman/8.0/en/load-data.html). You can't save/load such data directly to/from any shared storage, and in the Galera HA cluster environment, it is impossible to predict which container the selected data will be stored on. Instead, use the the [export/import](/documentation/services/databases/mariadb.html#how-to-backup-or-restore-database-data) mechanism's standard functionality. | ||
|
||
### Selected specifics of a Galera HA cluster | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ services: | |
#### Which version to choose | ||
You can currently choose PHP version **v8.1** (version v8.1.3 to be precise), **v8.0** (version v8.0.16 to be precise), or **v7.4** (version v7.4.28 to be precise). The chosen version **can't be changed afterwards**. The service is always combined with a web server. It can be either **Apache v2.4** (version 2.4.29 to be precise) or **Nginx v1.20** (version 1.20.1 to be precise). The differences and configuration specifics for each web server are listed below. | ||
You can currently choose PHP version **v8.1** (version v8.1.3, to be precise), **v8.0** (version v8.0.16, to be precise), or **v7.4** (version v7.4.28, to be precise). The chosen version **can't be changed afterward**. The service is always combined with a web server. It can be either **Apache v2.4** (version 2.4.29 to be precise) or **Nginx v1.20** (version 1.20.1 to be precise). The differences and configuration specifics for each web server are listed below. | ||
Used as the export & import types: ==`[email protected]+2.4`== , ==`[email protected]+2.4`== , ==`[email protected]+2.4`== , ==`[email protected]+2.4`== , ==`[email protected]+2.4`== , ==`[email protected]+2.4`== . | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ services: | |
#### Which version to choose | ||
You can currently only choose Nginx version **v1.20** (version 1.20.1 to be precise). | ||
You can currently only choose Nginx version **v1.20** (version 1.20.1, to be precise). | ||
Used as the export & import type: ==`[email protected]`== . | ||
|
||
|