Veeam Agent - Linux Restore Files
  • 27 Mar 2025
  • 2 Minutes to read
  • Dark
    Light

Veeam Agent - Linux Restore Files

  • Dark
    Light

Article summary

This article will cover the steps to help restore files using the Veeam backup agent on your Linux server.

For this example, we have a subdirectory of the /root directory (/root/Examples) that contained some important files that were accidentally deleted:

The first step is to start the Veeam backup agent interface, by just running this command in your terminal/SSH client:

veeam

The agent interface will open and show you the server’s hostname at the top (this example server is called “veeam-agent-linux”).
As well the currently present backups and many options - for now only the “Recover Files” option applies - press the R key on your keyboard:

Here we choose the backups to use, normally you will only have the one option here apart from “Show all…” - press the Enter key on your keyboard.

Veeam Agent for Linux interface showing imported backups and restore points.

The highlighted section will change to the right side of the screen where you can select the applicable restore point to use.
Press the Enter key on your keyboard again once you have the correct restore point highlighted.

Veeam Agent for Linux showing imported backups and restore points with timestamps.

The restore point you have selected will then start to mount:

Veeam Agent interface showing imported backups and restore points with an info prompt.

Then soon after you should receive confirmation of the mount completion:

Veeam Agent for Linux shows successful backup session and mounted content information.

The backups are now mounted to your server,  present at the path: /mnt/backup/
You can use the “Esc” key at the top left of your keyboard to exit the Veeam backup agent.

Please Note: The copy commands below are only for this example, you will need to amend them to suit the paths for your backed up/live data.

Now to restore the backup it is only normal Linux copy commands.
To copy the files we need from the backups to the server’s live directory just ensure we are in the directory to restore to and then copy the files with this command:

cp /mnt/backup/root/Examples/* ./

Command line interface showing directory listing and copy command execution in Linux.

Command line interface showing directory navigation and file copying commands in Linux.

Or if you wanted to specify the full path, like this:

cp /mnt/backup/root/Examples/* /root/Examples/

This is just like any other linux file copy, you can use flags such as -p to preserve attributes etc
If you have more than one set of files or directories to restore, you can run multiple copy commands until you have restored all data.

Once you have copied all of your data from the backups, it is important to unmount the backups.
Run the Veeam backup agent again.

veeam


You will see the option for “Recover Files” option is no longer present and replaced by “Unmount” - press the U key on your keyboard:

Veeam Agent for Linux showing successful backup sessions with timestamps and job names.

Veeam Agent for Linux showing successful backup sessions and confirmation message.

Checking back in the /root/Examples directory we can see all the files are again present:

Terminal output showing directory listing with various example files and permissions.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence