No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor 9000 V5 7.0 Command Reference 03

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change snapshot_schedule

change snapshot_schedule

Function

The change snapshot_schedule command is used to change the policies of a timing snapshot.

Format

change snapshot_schedule < id > < schedule > [ day_hours=? ] [ day_minute=? ] [ expire_time=? ] [ month_days=? ] [ week_days=? ]

Parameters

Parameter

Description

Value

id Policy ID.

Only numbers can be entered. You can press Ctrl+A to view the available values of id.

schedule Policy frequency.

The value is an enumeration value which can be "EveryDay", "EveryWeek", or "EveryMonth".

day_hours Time exact to hour of a day when the timing snapshot is executed.

Separate numbers with commas (,). The value of each number is between "0" and "23".

day_minute Time exact to minute of a day when the timing snapshot is executed.

The value is an integer between "0" and "59".

expire_time Expiration time of the timing snapshot.

The value is a character string in the format of year-month-day-hour. The value ranges of the year, month, day, and hour are 0 to 50, 0 to 12, 0 to 31, and 0 to 24 respectively. The entered time cannot be longer than 50 years. The snapshot is permanently valid if the value is set to 0-0-0-0.

month_days Days of a month when the timing snapshot is executed.

Separate numbers with commas (,). The value of each number is between "0" and "31". This parameter is mutually exclusive with "week_days".

week_days Days of a week when the timing snapshot is executed.

Separate numbers with commas (,). The value of each number is between "0" and "6". This parameter is mutually exclusive with "month_days".

Level

Resource administrator

Usage Guidelines

None

Example

  • Change the policy of a timing snapshot to monthly execute the snapshot.

    admin:/>change snapshot_schedule 6088122004710814320 EveryMonth day_hours=1,2,3 day_minute=10 expire_time=0-0-0-1 month_days=2,3,4
    Command executed successfully.
  • Change the policy of a timing snapshot to weekly execute the snapshot.

    admin:/>change snapshot_schedule 6088122004710814320 EveryWeek day_hours=1,2,3 day_minute=10 expire_time=0-0-0-1 week_days=2,3,4
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24769

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next