backup-domain
backup-domain
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 Eclipse GlassFish, and is supported in local mode and remote mode in Eclipse GlassFish.
In Eclipse GlassFish, the domain to be backed up must be stopped.
In Eclipse GlassFish, the domain to be backed up must be stopped
or be suspended using the suspend-domain(1) subcommand.
Options
- asadmin-options
-
Options for the
asadminutility. For information about these options, see theasadmin(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 Eclipse GlassFish.) The name of the domain backup configuration in the backup directory under which the backup file is to be stored.