asadmin [asadmin-options] backup-domain [--help]
[--long[={false|true}]]
[--description description-text]
[--domaindir domain-root-dir]
[--backupdir backup-directory]
[--backupconfig backup-config-name]
[domain_name]
backup-domain |
Previous | Next | Contents |
performs a backup on the domain
Synopsis
asadmin [asadmin-options] backup-domain [--help]
[--long[={false|true}]]
[--description description-text]
[--domaindir domain-root-dir]
[--backupdir backup-directory]
[--backupconfig backup-config-name]
[domain_name]
Description
The backup-domain
subcommand backs up files under the named domain.
This subcommand is supported in local mode only in GlassFish Server Open Source Edition, and is supported in local mode and remote mode in Oracle GlassFish Server.
In GlassFish Server Open Source Edition, the domain to be backed up must be stopped.
In Oracle GlassFish Server, the domain to be backed up must be stopped
or be suspended using the suspend-domain
(1) subcommand.
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
-l
Displays detailed information about the backup operation.
The default value is false
.
--description
Specifies a description to store in the backup file. The description
is displayed as part of the information about a backup file.
The default value has this form:
domain-name backup created on YYYY_MM_DD by user user-name
--domaindir
Specifies the domain root directory, the parent directory of the
domain to back up.
The default value is as-install`/domains`.
--backupdir
Specifies the directory under which the backup file is to be 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 GlassFish Server.) The name of the domain backup configuration in the backup directory under which the backup file is to be stored.
Operands
Specifies the name of the domain to be backed up.
This operand is optional if only one domain exists in the
\{product---name} installation.
Exit Status
subcommand executed successfully
error in executing the subcommand
See Also
list-backups
(1),
restore-domain
(1),
resume-domain
(1), suspend-domain
(1)
Previous | Next | Contents |