Importing Backups
You can import a backup created by Veeam Agent for Linux into the Veeam Agent for Linux 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 Linux installed on another computer.
To import a backup:
- 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:
user@srv01:~$ veeamconfig backup import --path /home/share/BackupJob/BackupJob.vbm |
- 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:
user@srv01:~$ veeamconfig session log --id 4031f058-766c-4f2c-a7ae-7257adb2929f |
- 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 |
You can import an encrypted backup created by Veeam Agent for Linux into the Veeam Agent for Linux database. This operation is required if you want to use the Veeam Agent for Linux command line interface to restore data from an encrypted backup created by Veeam Agent for Linux running on another computer.
To import an encrypted backup:
- 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:
user@srv01:~$ veeamconfig backup import --path /home/share/srv15\ Backup/Backup.vbm |
- Veeam Agent for Linux 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 Linux 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 Linux will decrypt the backup file and import it into the database.
user@srv01:~$ veeamconfig backup import --path /home/share/srv15\ Backup/Backup.vbm |
- 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 |