Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
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.
--help
-?
Displays the help text for the subcommand.
Specifies the name of the domain backup configuration to enable.
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)