setbw

Purpose

Use the setbw command to change the settings of a backup window. This command replaces an existing backup window, as opposed to the addbw command, which adds a new backup window.

See Also:

"Backup Window Commands" for related commands

Prerequisites

You must have the modify administrative domain's configuration right to use the setbw command.

Syntax

setbw::=

setbw { --times/-t { none | time-range[,time-range]... } } 
day-specifier[,day-specifier]...

Semantics

--times/-t time-range ...

Defines a time-of-day range. Refer to "time-range" for a description of the time-range placeholder.

day-specifier ...

Defines the day ranges for the backup window. Refer to "day-specifier" for a description of the day-specifier placeholder.

Example

Example 2-149 changes the settings of the backup windows created in Example 2-1. The new backup windows allow backups from 7 a.m. until 9 p.m. on weekdays and any time during the weekend.

Example 2-149 Changing Backup Windows

ob> setbw --times 00:00-07:00 mon-fri
ob> setbw --times 21:00-24:00 mon-fri
ob> setbw --times 00:00-24:00 weekend