Restore Where

Table of contents
  1. 1. Conflict Resolution
  2. 2. Exclude

Version as of 02:11, 20 Apr 2024

to this version.

Return to Version archive.

View current version

The Restore Where page specifies the destination directory for recovered files. Before attempting a restore, you may want to review the Requirements for Restore Clients section of the pre-installation checklist.

The Restore Where defines where the data is to be restored. It also lets you control how the file restore operation proceeds. For example, you can choose whether to permit overwriting of existing files.

RestoreWhere-Details-3.1.png

DLE/Object Type and Source Host Type are non-editable fields and they are provided for information to fill other fields.

Destination Host Name
The Destination Host is the machine where you want restore the files. It need not be the same machine that originally contained the backed up data.
If no Destination Host is specified, the files are restored to the Amanda server machine. 
Destination Host Type 
Choose either Linux/Unix/Mac/Solaris or Windows.
  • If the Destination Host is defined as Linux/UNIX the data will be restored as user root. You can specify a different user such as amandabackup to execute the restore. Please note restoring as a non-root user may not preserve directory/file ownership.
  • If the Destination Host is running Windows, then the data will be restored as user amandabackup. This cannot be changed.

If you are restoring Windows backups to Linux/Unix/Mac/Solaris host, the data is restored as zip file which can be copied to Windows machine and extracted using pkzip or winzip tools that support ZIP64 format.

Linux/Unix/Mac/Solaris client backups cannot be restored to Windows.

Destination Username 
Specifies the OS user on the destination machine that will provide access to the restore process. If the Destination Host has Amanda client installed, the user has to be root.  For restoration of Windows backups, this field cannot be changed.
If you are restoring to a machine that does not have Amanda client installed, restoration will be done using ssh. ssh must be configured on the Destination Host and the ssh user can be specified as Destination Username. ssh user password will be required at the start of restoration process. Only file system (not applications) data can be restored using ssh.
Destination Directory 
The directory on the Destination Host where the files will be restored. If left empty, files are restored to their original location.
Warning: The Destination Directory MUST be specified as an absolute path on the Destination Host.
Temporary Directory 
A directory on the Destination Host that ZMC will use temporarily during the restore process. Please note that there should be sufficient space to store the whole backup image in this directory. The amandabackup user should have permissions to write to this directory.

Conflict Resolution

Conflict Resolution is displayed only for Windows, Linux, Solaris and Mac OS X file systems.

RestoreWhere-ConflictResolution-3.1.png

The radio buttons in the above panel lets you set how to handle filename conflicts in the destination directory (select one):

Keep Existing Files 
If checked (the default), ZMC does not overwrite any existing files on the destination directory. Conflicting files are simply skipped.
Overwrite Existing Files 
If checked, the entire pathnames of existing files on the destination will be overwritten by the backed-up versions, if any. Use with extreme caution.
Rename Existing Files 
If checked, name conflicts are resolved by renaming the existing file (and the entire directory path to that file) using the following convention: original_filename.original.timestamp.
Rename Restored Files 
If checked, name conflicts are resolved by renaming the existing file (and the entire directory path to that file) using the following convention: original_filename.original.timestamp.

Exclude

RestoreWhere-Exclude-3.1.png

Express restores allows users to exclude file names or files/directories that match the exclude pattern. Multiple files or patterns (filename globbing syntax) can be specified.