asadmin [asadmin-options] restore-domain [--help]
[--long[={false|true}]]
[--filename backup-filename]
[--domaindir domain-root-dir]
[--backupdirbackup-directory]
[--backupconfigbackup-config-name]
[--force[={false|true}]]
[domain-name]
|
restore-domain |
| Previous | Next | Contents |
restores files from backup
Synopsis
asadmin [asadmin-options] restore-domain [--help]
[--long[={false|true}]]
[--filename backup-filename]
[--domaindir domain-root-dir]
[--backupdirbackup-directory]
[--backupconfigbackup-config-name]
[--force[={false|true}]]
[domain-name]
Description
This command restores files under the domain from a backup directory.
The restore-domain command is supported in local mode only.
Options
Options for the asadmin utility. For information about these
options, see the asadmin(1M) help page.
--help-?Displays the help text for the subcommand.
--long-lDisplays detailed information about the restore operation.
The default value is false.
--filenameSpecifies the name of the backup file to use as the source.
--domaindirSpecifies the domain root directory, the parent directory of the
domain to restore.
The default value is as-install`/domains`.
--backupdirSpecifies the directory under which the backup file is stored.
The default value is as-install`/domains/domain-dir/backups`. If the
domain is not in the default location, the location is
domain-dir`/backups`.
--backupconfig(Supported only in Oracle Payara Server.) The name of the domain backup configuration in the backup directory under which the backup file is stored.
--forceCauses the restore operation to continue even when the name of the
domain to restore does not match the name of the domain stored in the
backup file.
The default value is false.
Operands
Specifies the name of the domain to restore.
This operand is optional if only one domain exists in the
\{product---name} installation.
If the specified domain name does not match the domain name stored in
the backup file, an error occurs unless the --force option is
specified.
Exit Status
subcommand executed successfully
error in executing the subcommand
See Also
| Previous | Next | Contents |
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.