--- title: "Creating Custom Veeam Recovery Media with Command Line Interface" description: "To create a custom Veeam Recovery Media, you need to perform the following operations: Download the ISO file of the generic Veeam Recovery Media. You can download this image from the Veeam software repository or from this Veeam webpage." canonical: "https://helpcenter.veeam.com/docs/agentforlinux/userguide/recovery_media_create_cmd.html" breadcrumb: "User Guide > Performing Backup > Creating Custom Veeam Recovery Media > Creating Custom Veeam Recovery Media with Command Line Interface" dateModified: "2026-11-02" --- # Creating Custom Veeam Recovery Media with Command Line Interface To create a custom Veeam Recovery Media, you need to perform the following operations: - [Download the ISO file of the generic Veeam Recovery Media](#download). You can download this image from the [Veeam software repository](http://repository.veeam.com/backup/linux/agent/veeam-recovery-media/) or from [this Veeam webpage](https://www.veeam.com/linux-backup-download.html). - [Using the downloaded ISO file, create the Custom Veeam Recovery Media](#create). ## Downloading Generic Recovery Media {#download} To download the generic Veeam Recovery Media with the command line interface, use the following command: ``` veeamconfig downloadiso --output ``` where: `` — path to the downloaded ISO file of the generic Veeam Recovery Media. Veeam Agent downloads the ISO file of the generic Veeam Recovery Media depending on the Veeam Agent computer architecture. For details, see [Veeam Recovery Media Versions](recovery_media_versions.md). For example: ``` $ veeamconfig downloadiso --output /mnt/veeam/iso ``` ## Creating Custom Recovery Media {#create} To create a custom Veeam Recovery Media, use the following command: ``` veeamconfig patchiso --input --output [--copy ] [--tempPath ][--efi] ``` where: - `` — path to the ISO file of the generic Veeam Recovery Media. - `` — path to the resulting ISO file of the custom Veeam Recovery Media. - `` — path to a directory with additional drivers that you want to include in the Veeam Recovery Media. When you boot from the custom Veeam Recovery Media, the content of the directory specified with the `` parameter will be available in the root folder of the recovery environment. - `` — path to a directory for storing temporary files that are created during generation of custom Veeam Recovery Media. By default, Veeam Agent stores temporary files in the `/tmp/veeam` directory. Use this option to change the default location — for example, if the `tmp` directory does not have enough space. - `--efi` — option that defines whether custom Veeam Recovery Media should be able to boot on EFI-based systems. Without this option, the custom Veeam Recovery Media will be able to boot on BIOS-based systems only. For example: ``` $ veeamconfig patchiso --input /mnt/veeam/iso/veeam-recovery-amd64-6.0.0.iso --output /mnt/veeam/iso/veeam-recovery-media-srv01.iso --copy /tmp/template --temppath /external/veeamtmp --efi ``` ## Related Topics [Drivers in Veeam Recovery Media](recovery_media_drivers.md)