This is an archive version of the document. To get the most up-to-date information, see the current version.

Restoring Files from Incremental Backup

Incremental backups created with Veeam Agent for Oracle Solaris 1.0 are saved to backup files in the .tar.gz format. To restore a file from a backup of this type, you must locate the necessary backed-up file in the .tar.gz archive and extract this file from the underlying .tar archive.

Restoring Files from Incremental Backup Important

Consider the following:

  • You can restore only individual files from incremental backups created with Veeam Agent for Oracle Solaris 1.0. An attempt to restore a directory from a sequence of incremental backup files can result in a corrupted backup chain. If you want to restore entire directories, consider using full backup.
  • You must not rename incremental backup files, change permissions for backup files and unzip .tar.gz archives to a directory used as a backup location. Such operations can result in a corrupted backup chain.

To restore a file from an incremental backup created with Veeam Agent for Oracle Solaris 1.0:

  1. To restore a file from an incremental backup, you must specify a path to the restored file. To obtain a path to the restored file, use the following command:

gunzip -cd <machine.tar.gz> | tar tvf - | grep <filename>

where:

  • <machine.tar.gz> — name of the backup file that contains the file you want to restore. For example, machine.tar.gz, machine.tar.gz.0, machine.tar.gz.1 and so on.

Note that incremental backup files contain only those files that have changed since the previous backup session. If you cannot obtain a path to the file you want to restore from the backup file, try to obtain the path from another file in the incremental backup chain.

  • <filename> — name of the file you want to restore.

For example:

# gunzip -cd /mnt/backup/incremental/machine.tar.gz.0 | tar tvf - | grep company
-rw-r--r-- 100/10  146444 May 30 13:54 2019 13473742344/./export/home/user01/reports/2018/abc-company.pdf

  1. Extract the necessary file from the backup. To do this, use the following command:

gunzip -cd <machine.tar.gz> | /opt/veeam/cd/tar xvf - <path/to/file.ext>

where:

  • <machine.tar.gz> — name of the backup file that contains the file you want to restore. For example, machine.tar.gz, machine.tar.gz.0, machine.tar.gz.1 and so on.

Make sure that you restore a file from the necessary backup file. That is, to restore a file to a specific state, restore it from the backup file created at the time when the file was in the desired state.

  • <path/to/file.ext> — path to the file you want to restore obtained at the step 1.

For example:

# gunzip -cd /mnt/backup/incremental/machine.tar.gz.0 | tar xvf - 13473742344/./export/home/user01/reports/2018/abc-company.pdf

Veeam Agent for Oracle Solaris will restore a file with the specified path to the current working directory. You can then copy the restored file to its original location on the Veeam Agent for Oracle Solaris machine or to a new location.