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 /mnt/backup
(Linux) or C:\VeeamFLR
(Windows) directory. For more information about file recovery, see Performing File-Level Restore in Veeam documentation.
- In the Veeam Service Provider Console portal, go to Management → Protected Data.
- Mark the virtual machine whose files you want to recover.
- Click File-Level Restore Portal. The Restore Portal opens in a new tab.
- In the menu on the left under Restore Point, click 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.
- Select the files and folders you want to restore. If indexing was 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 files to the 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 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.
- Click Activate a connection.
- When the settings are complete, press OK.
- Select the Restore files type. 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 opens. The files on the machine (
/mnt/system
) are displayed on the left, and the files in the backup (/mnt/backup
) are 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 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);
- using the command line (Linux).
Learn more about preparing for file recovery in the Before You Begin (Linux, Windows) instructions of 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 (e.g., 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.
- Launch File Level Restore Wizard, see Step 1 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 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
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 (e.g., with the
cp
command). -
After the restore, unmount the restore point:
veeamconfig session stop --id <session_id>
Specify
<session_id>
— Session ID.