Oracle GlassFish Server 3.1 Section 1: asadmin Utility Subcommands
create-connector-connection-pool(1)
create-connector-security-map(1)
create-connector-work-security-map(1)
create-jdbc-connection-pool(1)
create-message-security-provider(1)
create-resource-adapter-config(1)
delete-connector-connection-pool(1)
delete-connector-security-map(1)
delete-connector-work-security-map(1)
delete-jdbc-connection-pool(1)
delete-message-security-provider(1)
delete-resource-adapter-config(1)
disable-http-lb-application(1)
disable-secure-admin-internal-user(1)
disable-secure-admin-principal(1)
enable-secure-admin-internal-user(1)
enable-secure-admin-principal(1)
list-connector-connection-pools(1)
list-connector-security-maps(1)
list-connector-work-security-maps(1)
list-message-security-providers(1)
list-resource-adapter-configs(1)
list-secure-admin-internal-users(1)
list-secure-admin-principals(1)
list-supported-cipher-suites(1)
unfreeze-transaction-service(1)
update-admin-server-coordinates(1)
update-admin-server-local-coordinates(1)
update-connector-security-map(1)
update-connector-work-security-map(1)
Oracle GlassFish Server 3.1 Section 1M: Utility Commands
Oracle GlassFish Server 3.1 Section 5ASC: GlassFish Server Concepts
- enables automatic backups defined by a domain backup configuration
enable-backup-config [--help] backup-config-name
The enable-backup-config subcommand sets the autobackupenabled option of a domain backup configuration to true, thus enabling automatic backups for the domain backup configuration.
This subcommand is supported in remote mode only.
Displays the help text for the subcommand.
Specifies the name of the domain backup configuration to enable.
Example 1 Enabling Automatic Backups
This example enables automatic backups for the weekly-backup domain backup configuration. The example shows list-backup-configs commands before and after the disable-backup-config command to demonstrate that the autobackupenabled value changes from false to true.
asadmin> list-backup-configs --long weekly-backup Name of Backup Config :weekly-backup Auto Backup Enabled :false Schedule :weekly Recycle Limit :5 Config Only backup :true Active Backup Enabled :false Backup Directory :null Last Backup Attempt : Last Successful Backup : Schedule Details: NAME SECOND MINUTE HOUR DAY OF WEEK DAY OF MONTH MONTH YEAR weekly 0 0 0 Sun * * * asadmin> enable-backup-config weekly-backup Command enable-backup-config executed successfully. asadmin> list-backup-configs --long weekly-backup Name of Backup Config :weekly-backup Auto Backup Enabled :true Schedule :weekly Recycle Limit :5 Config Only backup :true Active Backup Enabled :false Backup Directory :null Last Backup Attempt : Last Successful Backup : Schedule Details: NAME SECOND MINUTE HOUR DAY OF WEEK DAY OF MONTH MONTH YEAR weekly 0 0 0 Sun * * *
subcommand executed successfully
error in executing the subcommand
create-backup-config(1), delete-backup-config(1), disable-backup-config(1), list-backup-configs(1)