Recover files and folders
You can restore files and folders:
- through the Veeam Service Provider Console portal (Linux, Windows);
- with Veeam Recovery Media (Linux);
- with a 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. You can restore files 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 directory /mnt/backup
(Linux) or C:\VeeamFLR
(Windows). For more information on file recovery, see the instructions Performing File-Level Restore Veeam documentation.
- On the portal 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.
- In the menu on the left under Restore Point click Select.
- Select a restore point and click Select.
- If multiple backup policies are bound to a virtual machine, in the menu on the left, in the field Job select a policy.
- Check the files and folders you want to restore. If indexing has been enabled in the backup policy settings, on the Search you can use the file search.
- Click Add to Restore List.
- Open the tab Restore List.
- 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 recovered file will be renamed with the prefix RESTORED-.
- If you want to restore files to the original location with existing files overwritten, 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 files in an archive, click Download and enter the administrator credentials for the source machine. The files will be downloaded through the source machine, which may affect the download speed.
- Optional: on the tab Audit 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 tap OK.
- Click Back.
- Click Activate a connection.
- When the settings are complete, press OK.
- Select the type of recovery Restore files. Wait for the file system mount to complete.
- To display the files after the mount is complete, tap Start file browser. The Midnight Commander manager will open. The files on the machine are displayed on the left (
/mnt/system
), on the right — in the backup (/mnt/backup
). - Mark the files and directories to restore and copy them to the machine.
- To exit the file manager, press F10.
- To end the process, press Stop backup mountIf you have a Veeam Recovery Media drive, shut down the machine and remove the drive.
Restore files using a backup agent
Any type of backup created via Veeam Agent (Entire computer, Volume level, File level) is suitable for restoring files and folders. Files are restored on a running system with the backup agent installed.
File recovery is available:
- through the backup agent interface (Linux, Windows);
- at the command line (Linux).
Learn more about preparing for file recovery in the Before You Begin instructions (Linux, Windows) of the 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 directory /mnt/backup
.
-
Start the interface:
veeamconfig ui
-
Click R.
-
Select a policy and click Enter.
-
Select a restore point and click Enter. Wait for the file system mount to complete.
-
Click Enter.
-
Click Esc.
-
In the directory
/mnt/backup
check that the mounted file system is available. -
Copy the required files and directories from the mounted system to the machine (e.g. with the command
cp
). -
Bring up the backup agent interface:
veeamconfig ui
-
To unmount the backup, click 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
). Access the user's home directory with the commandcd
with no parameters. -
To exit the Backup Agent interface, press Esc.
- Run the File Level Restore Wizard, see the instructions for details Step 1. Launch File Level Restore Wizard Veeam documentation.
- In the section Restore point select a restore point.
- Go through the recovery wizard. A window with the directory structure from the backup for the selected restore point will open.
- 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
Read more about recovering using the command line in the instructions Restoring Files and Folders with Command Line Interface 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 Policy ID. -
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 necessary files and directories from the mounted backup (e.g. with the command
cp
). -
After the restore, unmount the restore point:
veeamconfig session stop --id <session_id>
Specify
<session_id>
— Session ID.