How to restore Veeam Backups on Linux

August 9, 2023 / Veeam Backup

In this article, we will presume that you already possess a Linux system with the Veeam agent set up. To proceed with the restoration process, you should have the capability to connect to the system via SSH and acquire access to a user with superuser privileges.

While the guidance provided assumes that you are saving backups to a Cloud Connect repository, like the one we offer, it is essential to note that the same fundamental process can be applied to restore data from a network share or any backup repository.

Restore the Files –

Execute the given command to obtain a list of backups linked to the agent on your system. Once you have identified the specific backup you wish to restore from, make sure to copy the Backup ID column as you will need it for the next step.

# veeamconfig backup list

Execute the following command, with the understanding that “<Backup ID>” serves as a placeholder representing the ID you saved in the previous step. This command will mount the backup data into the default directory, /mnt/backup. However, if you wish to modify the mount directory, you can append the argument “–mountDir <directory>” to the veeamconfig backup mount command. Once the backup is successfully mounted, make sure to save the session ID from the command’s output, as it will be required shortly for unmounting the backup.

# veeamconfig backup mount --id <Backup ID>

You now have access to the files in the Veeam backup. Feel free to restore the required data using commands like “cp” or “rsync.”

After completing the data restoration process, you can unmount the backup data by executing the following command. Replace “<ID>” with the session ID for the backup job. If you cannot recall the session ID for the backup mount, you can run “veeamconfig session list” and look for the session that is still running.

# veeamconfig session stop --id <ID>

Now Restore the Volumes-

To perform a volume-level backup restoration, you will require a Veeam Recovery Media ISO and the capability to mount and boot from this ISO. For a bare-metal server, you can achieve this either through IPMI or by physically connecting a device containing the burned ISO. Alternatively, for virtual machines like our Cloud product, you can upload the ISO and configure the VM to boot from it.

  1. Before proceeding with the ISO mounting process, it is strongly advised to carefully review and document the network configuration for the system. The Linux environment provided by the ISO will not automatically set up networking for you, and having networking properly configured is crucial for establishing a connection to the Cloud Connect repository.
  2. Attach the Recovery Media ISO to the server and restart the system, booting it into the ISO. Once the Linux environment from the ISO is up and running, a TUI (terminal user interface) will be displayed, navigable using the indicated keys. Before continuing, you must consent to Veeam’s license agreement.
  3. After accepting the license terms, you will find yourself on the main menu. From there, choose “Configure network” to set up networking for the system. Once you have completed the configuration, return to the main menu.
  4. Choose “Restore volumes” from the menu. To establish a connection with the Cloud Connect repository, select “Add Cloud provider…” and input “gateway.draas.hostdime.com” as the address. Alternatively, if DNS was not configured as part of networking, use “98.142.108.189” as the IP address (this applies to users of our Veeam-powered backup service). Leave the default port of 6180 unchanged. During the process, you might encounter a warning about a self-signed SSL certificate. If this occurs, you can accept the certificate.
  5. Next step, you will be asked to provide your Veeam Service Provider Console credentials. Enter your credentials, making sure not to include a company name as part of the username.
  6. After successfully logging in, proceed by selecting the desired backup from the left window pane and its corresponding restore point from the right window pane to initiate the data restoration process.
  7. Once you have chosen a restore point, the right window pane will display the available volumes for restoration. When you select a volume on the left side to restore, you will receive a prompt specifying the volume that will be restored from. When you are prepared to proceed with the restoration, simply type “S.”
  8. A monitoring screen will be displayed to track the progress of the restoration. Upon successful completion, you can access the main menu and choose to either shut down or restart the system, returning it to the normal production environment.

In this way, you can restore Veeam backups on Linux.

Dominos Search