Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

disable-backup-config

disables automatic backups defined by a domain backup configuration

Synopsis

disable-backup-config [--help]
backup-config-name

Description

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.

Options

--help
-?

Displays the help text for the subcommand.

Operands

backup-config-name

The name of the domain backup configuration to disable.

Examples

Example 1   Disabling Automatic Backups

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          *             *      *

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also

create-backup-config(1), delete-backup-config(1), enable-backup-config(1), list-backup-configs(1)

asadmin(1M)