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.

  1. Create a backup on the source instance as described in Creating a backup.
  2. Copy the archive, the gitlab.rb and gitlab-secrets.json files, the certificates and keys from the ssl/ 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 the ssh_host_* files on the configuration volume.
  3. 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.
  4. For the Linux package, put the configuration files into /etc/gitlab/ and the SSH host keys into /etc/ssh/, then run sudo gitlab-ctl reconfigure.
  5. 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.

Additional resources