target
Commands: export archive
, export backup
, recover file
, replicate backup
--target=<path>
In the recover file
command, the parameter specifies a local or network folder where folders/files will be recovered (a target folder). The formats of the parameter value are the same as in the --loc
parameter. If the --target
parameter is not specified, the original path will be re-created from the backup.
In the export archive
, export backup
, or replicate backup
command, the parameter specifies the location where the archive or backup will be exported or replicated. The formats of the parameter value are the same as in the --loc
parameter, except for online://
which is not supported by the export archive
and export backup
commands. If the --target
parameter is not specified, the command will fail.
Command: recover exchange_database
--target={original|disk|another_database|recovery_database}
In the recover exchange_database
command, available values of the parameter are as follows:
-
original
The software will recover the selected databases or storage groups to their original paths. The paths are taken from the backup.
-
disk
The software will save the selected databases or storage groups, along with transaction log files, to a local or network folder. If this value is used, you need to specify the
--disk_location
parameter. If necessary, add the--credentials
parameter. -
another_database
The software will recover the selected database or storage group to a new or existing database or storage group. Only one database or storage group can be recovered at a time.
If this value is used, you need to specify the
--destination_database
parameter. If the destination database does not exist, also specify the--database_location
and--log_location
parameters. If the destination storage group does not exist, specify the--log_location
parameter and pairs of the--database
and--database_location
parameters for each database of the storage group being recovered. -
recovery_database
The software will recover the selected database or storage group to a recovery database or storage group. Only one database or storage group can be recovered at a time.
When recovering a database, you need to specify the
--database_location
and--log_location
parameters.When recovering a storage group, you need to specify pairs of the
--database
and--database_location
parameters for each database of this storage group. If the destination recovery storage group does not exist, specify also the--log_location
parameter.
If the parameter is not specified, the command will fail.
Command: recover mssql_database
--target={original|disk|another_instance}
In the recover mssql_database
command, available values of the parameter are as follows:
-
original
(by default)The software will recover the selected databases to their original paths. The paths are taken from the backup.
In this case, you cannot specify the credentials to access the SQL Server instance where the databases will be recovered. So, the software will use Windows Authentication to connect to the instance. If you need to use SQL Server Authentication, specify the
another_instance
value along with the original instance name, original database file path and the--credentials
parameter. -
disk
The software will save the selected databases, along with the transaction log files, to a local or network folder. If this value is used, you need to specify the
--disk_location
parameter. If necessary, add the--credentials
parameter. -
another_instance
The software will recover the selected databases to the specified instance.
If this value is used, you need to specify the
destination_instance
anddatabase_location
parameters. For information about specifying access credentials for Microsoft SQL Server, see "Access to SQL Server instance".