Importing Backup File

When you perform bare metal recovery, you can restore data from an imported backup file created by Veeam Agent for Oracle Solaris. To do this, you first mount the backup storage, then import the backup file into the Veeam Agent database. You cannot import backups that reside in a Veeam Backup & Replication repository.

To import a backup:

  1. Start the import process with the following command:

veeamconfig backup import --path <path>

where <path> — path to the VBM file of the backup that you want to import.

For example:

srv01# veeamconfig backup import --path /mnt/backup/BackupJob.vbm
Backup has been imported successfully.
Session ID: [{4031f058-766c-4f2c-a7ae-7257adb2929f}].
Logs stored in: [/var/log/veeam/Import/Session_{4031f058-766c-4f2c-a7ae-7257adb2929f}].

  1. You can monitor the import process and result by viewing the import session log with the following command:

veeamconfig session log --id <session_id>

where <session_id>ID of the import session.

For example:

srv01# veeamconfig session log --id 4031f058-766c-4f2c-a7ae-7257adb2929f
2020-03-19 13:21:33 UTC {765af178-a9cc-4596-8bf2-03850c5da1ac} [info] Job started at 2022-01-26 16:21:33
2020-03-19 13:21:33 UTC {6ae2922d-454b-4a8d-a11b-2b5c7a85029d} [info] Importing backup
2020-03-19 13:21:33 UTC {783f40a7-ead7-4555-9c35-545d875990ee} [info] Backup has been imported.

  1. Imported backup will be displayed in the list of backups. To view the list of backups, use the following command:

veeamconfig backup list

For example:

srv01# veeamconfig backup list
Job name            Backup ID                               Repository    Created at
BackupJob           {64957b1d-d219-456c-a9cd-9598292c10cd}  Imported      2022-01-26 16:21

Importing Encrypted Backups

You can import an encrypted backup created by Veeam Agent for Oracle Solaris into the Veeam Agent database. This operation is required in the following situations:

Importing Backup File Note

You cannot import backups that reside in a repository managed by Veeam backup server.

To import an encrypted backup:

  1. Start the import process with the following command:

veeamconfig backup import --path <path>

where <path> is a path to the VBM file of the backup that you want to import.

For example:

srv01# veeamconfig backup import --path /home/share/srv15\ Backup/Backup.vbm

  1. Veeam Agent will prompt you to provide a password for the backup file. Type in the password and press [Enter] to import the backup.

Veeam Agent displays a hint for the password that was used to encrypt the backup file. Use the hint to recall the password.

If you enter the correct password, Veeam Agent will decrypt the backup file and import it into the database.

If you do not enter the password, Veeam Agent will import the backup in the database but will not decrypt the backup file. In this case, because no password is stored in the Veeam Agent database, you will need to provide the password later, when you mount the backup or restore point during file-level restore.

srv01# veeamconfig backup import --path /home/share/srv15\ Backup/Backup.vbm
[Info] Backup srv15 Backup encrypted
[Info] Press "Enter" to skip. Enter password to decrypt the backup:
[Info] Hint: Standard password
Password:
Backup imported successfully

  1. Imported backup will be displayed in the list of backups. To view the list of backups, use the following command:

veeamconfig backup list

For example:

srv01# veeamconfig backup list
Job name            Backup ID                               Repository    Created at
srv15 Backup        {4b1f873c-857d-b984-4f22-6ce66bf62570}  Imported      2020-03-12 20:20
srv01 SystemBackup  {f212f641-54aa-40de-a0eb-8727be56760b}  VeeamBackup   2020-03-12 20:04