Skip to content

How to Migrate My Server

We recommend two paths to migrate your server.

Image Download

  1. Stop your server
  2. Navigate to the Snapshots on your Qube
  3. Click Create Snapshot
  4. Once the snapshot is created, click the three dots to the right of it and click download

If your snapshot does not show up, please open a ticket to ask our staff to refresh your project to ensure the snapshot is visible to you

To use the created image at a new provider, please follow their import instructions for an image.

Migrate to Hetzner

  1. SSH into your server
  2. Input the following command. The command below is an example of a Debian/Ubuntu system example

tar -cvf image.tar.gz /bin /boot /etc /home /lib /lib32 /lib64 /libx32 /lost+found /media /mnt /opt /root /run /sbin /srv /tmp /usr /var

  1. Download the image.tar.gz using SFTP over the SSH port using a client such as Filezilla or WinSCP
  2. Once downloaded, rename the file in the following format per the operating system your server was running. First place is the OS type. Second is the version. Third is architecture. Fourth is your archive name.

Debian-11-amd64-custom.tar.gz

Rocky-92-amd64-backup.tar.gz

Ubuntu-2204-amd64-image.tar.gz

  1. Upload your image to a web-accessible location such as Dropbox, Google Drive, or object storage
  2. Create a new image at Hetzner and then boot to the rescue system and SSH in.
  3. Input installimage and click enter
  4. Choose custom image
  5. Input your archives download URL and press F10 to save and exit