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 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands."
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 fs_snapshot schedule

change fs_snapshot schedule

Function

The change fs_snapshot schedule command is used to modify the schedule information of a periodic snapshot, including name, type, and time.

Format

change fs_snapshot schedule schedule_id=? { name=? | period=? } * [ hour_of_day=? ] [ minute_of_hour=? ] [ day_of_week=? ] [ week_start_time=? ] [ day_of_month=? ] [ month_start_time=? ] [ frequency_time=? ]

Parameters

Parameter

Description

Value

schedule_id=? Indicates the ID of the schedule you want to modify.

To obtain the value, run "show fs_snapshot schedule".

name=? Indicates new name of the schedule.

The value consists of 1 and 31 ASCII characters including number, letters, periods (.), underscores (_), and hyphens (-).

period=? Indicates the new type of the schedule.

The value can be "daily", "weekly", "monthly" , or "frequency", where,

  • daily: to create a periodic snapshot on a daily basis
  • weekly: to create a periodic snapshot on a weekly basis
  • monthly: to create a periodic snapshot on a monthly basis.
  • frequency: to create a periodic snapshot on a fixed interval.
If more than one policies are selected, separate them with commas (,). For example, period=daily,weekly.
hour_of_day=? Indicates the new hour of a day to create a periodic snapshot.

The value is an integer between 0 and 23.

If more than hours are selected, separate them with commas (,). For example, hour_of_day=1,2,3.

minute_of_hour=? Indicates the new minute of an hour of a day to create a periodic snapshot.

The value is an integer between 0 and 59.

day_of_week=? Indicates the new day of a week to create a periodic snapshot.

The value can be "mon", "tue", "wed", "thu", "fri", "sat", or "sun".

If multiple days must be selected, separate them with commas (,). For example, day_of_week=mon,tue.

week_start_time=? Indicates the new time of a week to create a periodic snapshot.

The value is a time between "00:00" and 23:59" in the format of "HH:MM".

day_of_month=? Indicates the new day of a month to create a periodic snapshot.

The value is an integer between 1 and 31.

month_start_time=? Indicates the new time of a month to create a periodic snapshot.

The value is a time between "00:00" and 23:59" in the format of "HH:MM".

frequency_time=? Indicates the new fixed interval to create a periodic snapshot.

The value is an integer between 1 and 1439.

Level

Administrator

Usage Guidelines

  • Before running this command, check that the ID of the file system is correct.
  • Before running this command: check whether the name of the schedule already exists and is correct.
  • When "period" is set to "daily", "hour_of_day, minute_of_hour" must be entered.
  • When "period" is set to "weekly", "day_of_week, week_start_time" must be entered.
  • When "period" is set to "monthly", "day_of_month, month_start_time" must be entered.
  • When "period" is set to "frequency", "frequency_time" must be entered.
  • This command does not support OceanStor 2200 V3 storage system.

Example

To modify snapshot schedule 1, run the following command:

admin:/>change fs_snapshot schedule schedule_id=1 name=auto1 period=daily,weekly,monthly,frequency hour_of_day=12 minute_of_hour=25 day_of_week=mon week_start_time=12:45 day_of_month=6 month_start_time=10:56 frequency_time=20
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 235931

Downloads: 168

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