Manually backing up and restoring the registry
1. Backing up registry
After a successful deployment of the registry and regulations, the Platform administrator can create a backup of the registry, which will be stored in a secure backup repository (for example, Minio).
To back up a registry this, follow these steps:
-
Log in to the Control Plane using the previously created login and password.
-
Go to the Registries section and select the registry for backup.
-
Go to the Configuration section at the Registry information tab, click on the link under CI to open Jenkins, navigate to the All tab, and find the job named
Create-registry-backup-backup-test
(see the image below).
For more details, see Checking registry deployment details |
-
Open the job and click
Build with Parameters
to launch theCreate-registry-backup-backup-test
job.
-
Click
Build
.
-
If the job is successfully executed, a backup of the registry with its regulations is created and uploaded to the corresponding backup repository directory.
2. Restoring registry
-
Login to the Control Plane using the previously created login and password.
-
Go to the Registries section and select the Registry that needs to be restored.
-
Go to the Configuration section, click on the link under CI to open Jenkins, navigate to the All tab, and find the
Restore-registry-backup-test
job (see the image below).
-
Open the job and click
Build with Parameters
to launch theRestore-registry-backup-backup-test
job.
-
Click
Build
.
-
Next, in the parameter input step, select the backup version to restore. To do this, go to the console output (the Console Output section on the left panel) and click
Input Requested
.
-
Select the backup version from the list and click
Proceed
.
-
If the
Restore-registry-backup-test
job is successfully executed, the registry will be restored to the selected backup version.