Recover files and folders
You can restore files and folders:
- via Veeam Service Provider Console (Linux, Windows);
- using Veeam Recovery Media (Linux);
- using backup-agent (Linux, Windows).
Restore files through the Veeam Service Provider Console portal
Backups of any type created via Veeam Agent are suitable for restoring files and folders via the portal. File recovery can be done on a disconnected system and without connecting to the machine.
During the restore process, the backup agent mounts the file system from the backup to the /mnt/backup
(Linux) or C:\VeeamFLR
(Windows) directory. For more information about restoring files, see Performing File-Level Restore in the Veeam documentation.
- On the Veeam Service Provider Console, go to Management → Protected Data.
- Mark the virtual machine whose files you want to recover.
- Click File-Level Restore Portal. The recovery portal will open in a new tab.
- From the menu on the left under Restore Point, press Select.
- Select a restore point and press Select.
- If you have multiple backup policies bound to the virtual machine, select a policy from the Job field in the left menu.
- Mark the files and folders you want to restore. If indexing has been enabled in the backup policy settings, you can use the Search tab to search for files.
- Click Add to Restore List.
- Open the Restore List tab.
- If you want to restore files to their original location without overwriting existing files, click Restore → Keep. If a file with this name exists, the restored file will be renamed with the prefix RESTORED-.
- If you want to restore the files to their original location while overwriting existing files, click Restore → Overwrite. If a file with this name exists, it will be replaced with the file from the backup.
- If you want to download the files in an archive, click Download and enter the administrator credentials of the source machine. The files will be downloaded through the source machine, which may affect the download speed.
- Optional: on the Audit tab, verify that the files have been restored. The backup from which the files were restored will be dismounted from the source machine 30 minutes after the Recovery Portal tab is closed or there is no activity.
Recover files with Veeam Recovery Media
- Linux
- Connect Veeam Recovery Media to the machine.
- In BIOS/UEFI, prioritize booting from this media.
- Turn on the machine and wait for Veeam Recovery Media to load. The SSH server will start automatically and provide connection parameters.
- If SSH is not required, click Proceed without SSH.
- Accept the license agreement and click Continue.
- Click Configure network → Edit a connection.
- Configure the network settings for Internet access and press OK.
- Press Back.
- Press Activate a connection.
- Press OK when the setting is complete.
- Select the type of restore Restore files. Wait for the file system mount to complete.
- To display the files after the mount is complete, click Start file browser. The Midnight Commander manager will open. The files on the machine (
/mnt/system
) will be displayed on the left, the files in the backup (/mnt/backup
) will be displayed on the right. - Mark the files and directories to restore and copy them to the machine.
- To exit the file manager, press F10.
- To complete the process, click Stop backup mount, shut down the machine and remove the drive from Veeam Recovery Media.
Restore files using backup agent
Any type of backup created via Veeam Agent (Entire computer, Volume level, File level) is suitable for restoring files and folders. File recovery is performed on a running system with the backup agent installed.
File recovery is available:
- via the backup-agent interface (Linux, Windows);
- using the command line (Linux).
For more information about preparing for file recovery, see Before You Begin (Linux, Windows) in Veeam documentation.
Restore files through the backup agent interface
- Linux
- Windows
During the restore process, the backup agent mounts the file system from the backup to the /mnt/backup
directory.
-
Start the interface:
veeamconfig ui
-
Press R.
-
Select a policy and press Enter.
-
Select a restore point and press Enter. Wait for the file system mount to complete.
-
Press Enter.
-
Press Esc.
-
In the
/mnt/backup
directory, verify that the mounted file system is available. -
Copy the required files and directories from the mounted system to the machine (for example, with the
cp
command). -
Bring up the backup agent interface:
veeamconfig ui
-
To unmount the backup, press U.
-
If the message "Target is busy" is displayed, the copy process is not yet complete or the working directory is inside the mounted backup (
/mnt/backup
). Exit to the user's home directory with thecd
command without parameters. -
To exit the Backup Agent interface, press Esc.
- Run the File Level Restore Wizard, refer to the Step 1 instructions for details. Launch File Level Restore Wizard of Veeam documentation.
- In the Restore point section, select a restore point.
- Go through the recovery wizard. A window opens with the directory structure from the backup for the selected restore point.
- Select files or folders that can be copied to a selected location on the node or restored to the original location with the option to keep or overwrite the original data.
Recover files using the command line
- Linux
For more information about restoring using the command line, see Restoring Files and Folders with Command Line Interface in the Veeam documentation.
-
Display a list of available backups (policies):
veeamconfig backup list --all
-
Copy the Backup ID of the desired policy.
-
Look at the available restore points:
veeamconfig point list --backupid <backup_id>
Specify
<backup_id>
— Backup ID of the policy. -
Copy the OIB ID of the desired restore point.
-
Mount the file system from the restore point:
veeamconfig point mount --id <oib_id> --mountdir <path>
Specify:
<oib_id>
— OIB ID of the restore point;<path>
— path to the directory where the file system will be mounted.
-
Wait for the message Restore point is mounted.
-
Copy the Session ID.
-
Copy the required files and directories from the mounted backup (for example, with the
cp
command). -
After the restore, unmount the restore point:
veeamconfig session stop --id <session_id>
Specify
<session_id>
— the session ID.