Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
disables automatic backups defined by a domain backup configuration
disable-backup-config [--help]
backup-config-name
The disable-backup-config
subcommand sets the autobackupenabled
option of a domain backup configuration to false
, thus disabling automatic backups for the domain backup configuration.
This subcommand is supported in remote mode only.
--help
-?
Displays the help text for the subcommand.
The name of the domain backup configuration to disable.
This example disables 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 true
to false
.
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 * * * asadmin> disable-backup-config weekly-backup Command disable-backup-config executed successfully. 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 * * *
subcommand executed successfully
error in executing the subcommand
create-backup-config(1), delete-backup-config(1), enable-backup-config(1), list-backup-configs(1)