Importing Backups

You can import a backup created by Veeam Agent for Oracle Solaris into the Veeam Agent database. For example, you may want to import a previously deleted backup or backup that was created in a network shared folder by Veeam Agent for Oracle Solaris installed on another machine. 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> is a path to the VBM file of the backup that you want to import.

For example:

user@srv01:~$ veeamconfig backup import --path /home/share/BackupJob/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> is an ID of the import session.

For example:

user@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 2020-03-19 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:

user@srv01:~$ veeamconfig backup list
Job name            Backup ID                               Repository    Created at
srv01 SystemBackup  {45f074d2-d2d9-423d-84e9-8f1798b08d4c}  Repository_1  2020-03-11 17:37
srv01 DocsBackup    {ea64a7e5-038a-4c86-970a-6d59d4cf3968}  Repository_1  2020-03-11 18:30
srv01 HomeBackup    {4f75bb20-a6b6-4323-9287-1c6c8ceccb6b}  Repository_2  2020-03-15 11:28
BackupJob           {64957b1d-d219-456c-a9cd-9598292c10cd}  Imported      2020-03-19 19:12

 

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 if you want to restore data from an encrypted backup created by Veeam Agent for Oracle Solaris running on another machine. Note that you cannot import backups that reside in a Veeam Backup & Replication repository.

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:

user@srv01:~$ veeamconfig backup import --path /home/share/srv15\ Backup/Backup.vbm

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

Veeam Agent for Oracle Solaris 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 for Oracle Solaris 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.

user@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:

user@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 ServerBackup  {f212f641-54aa-40de-a0eb-8727be56760b}  Imported      2020-03-12 20:04