Creating Veeam Recovery Media
Veeam Recovery Media provides an alternate way to boot your machine in the event of a disaster. If your machine fails to start or the hard disk gets corrupted, you can boot the Oracle Solaris OS from Veeam Recovery Media and restore your data.
When Veeam Agent generates Veeam Recovery Media, it copies the Oracle Solaris kernel running on the machine with its currently loaded modules and includes them into the recovery media. If the OS fails to start, you can boot it from the Veeam Recovery Media that you created on this machine.
Before You Begin
Mind the following before you start creating Veeam Recovery Media:
- Veeam Recovery Media is an image of the live Oracle Solaris system; you must create it on a functional machine.
- If you update the system, you must create a new version of Veeam Recovery Media.
- [For Oracle Solaris 11.4] To create Veeam Recovery Media, Veeam Agent may require up to 8 GB of free space in the /temp directory. Make sure that the /temp directory has enough space or specify a path to an alternative location for storing temporary files.
- [For Veeam Agent version 4.0 running on Oracle Solaris 11.4] To create Veeam Recovery Media, you must configure a local IPS repository. The IPS repository location must be set as a publisher origin and accessed without a TLS certificate.
Creating Veeam Recovery Media
To create Veeam Recovery Media, use the following command:
veeamconfig createIso --output <image_path> [--overwrite] [--tempPath <temp_path>] [--edit] |
where:
- <image_path> — full path to the image file. Use this required option to specify the name and location of the output image file.
- --overwrite — option that allows you to overwrite the output image file if it already exists in the specified location.
- <temp_path> — path to the directory for the temporary files created during Veeam Recovery Media generation. By default, Veeam Agent stores temporary files in the /tmp/veeamrcd directory. Use this option to change the default location — for example, if the tmp directory does not have enough space.
- --edit — option that allows you to edit the content of the recovery image in interactive mode during creation of Veeam Recovery Media. For more information, see Editing Recovery Image Content During Creation.
For example:
user@srv01:~$ veeamconfig createIso --output /mnt/veeam-recovery-media-svr01.iso --overwrite --temppath /external/veeamtmp |
Editing Recovery Image Content During Creation
You can include additional files into the image — for example, commands binaries, configuration files, special disaster recovery documents with instructions, and so on. To do this:
- Add the --edit option to the createIso command and run it.
After Veeam Agent starts creating Veeam Recovery Media, it will launch a new shell instance.
Preparing resource files. Creating a recovery media image. Writting a detailed log to [/var/log/veeam/RecoveryMediaBuilder.log].
Starting new shell instance. File system [boot_archive] has been mounted. Change Recovery Media content in [/tmp/veeamrcd/mount]. Type 'exit' to continue execution. |
- Add content to the /tmp/veeamrcd/mount directory.
- After you add the content, type in exit to finish creating Veeam Recovery Media.
Related Topics