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

control plane create backup job

  • Open the job and click Build with Parameters to launch the Create-registry-backup-backup-test job.

control plane create backup 01

  • Click Build.

control plane create backup 02 control plane create backup 03

  • 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).

control plane create restore

  • Open the job and click Build with Parameters to launch the Restore-registry-backup-backup-test job.

control plane create restore 01

  • Click Build.

control plane create restore 02

  • 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.

control plane create restore 03

  • Select the backup version from the list and click Proceed.

control plane create restore 04

  • If the Restore-registry-backup-test job is successfully executed, the registry will be restored to the selected backup version.

control plane create restore 05