An instance moves to another installation type with its data in a backup archive. The target installation runs the Deckhouse Code version the archive was created on.
Between the Linux package and Omnibus Docker
The Linux package and Omnibus Docker create and restore the same backup archive with the gitlab-backup command, and their configuration files are the same.
- Create a backup on the source instance as described in Creating a backup.
- Copy the archive, the
gitlab.rbandgitlab-secrets.jsonfiles, the certificates and keys from thessl/directory and the SSH host keys off the source. In the Linux package, the SSH host keys are the/etc/ssh/ssh_host_*files; in Omnibus Docker, they are thessh_host_*files on the configuration volume. - Install Deckhouse Code of the same version on the target: Quick start of the Linux package or Quick start of Omnibus Docker. For Omnibus Docker, put the configuration files and the SSH host keys on the configuration volume before the first start, so that the container does not generate new host keys.
- For the Linux package, put the configuration files into
/etc/gitlab/and the SSH host keys into/etc/ssh/, then runsudo gitlab-ctl reconfigure. - Restore the archive as described in Restoring.
Between the Linux package or Omnibus Docker and the module
Moving an instance from the Linux package or Omnibus Docker to the Deckhouse Platform (DP) module and back is described in the Migration section of the module documentation.