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

Command Reference 10

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
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).
create fs_snapshot schedule

create fs_snapshot schedule

Function

The create fs_snapshot schedule command is used to create a timing snapshot schedule for a file system.

Format

create fs_snapshot schedule name=? file_system_id=? period=? [ day_of_week=? ] [ week_start_time=? ] [ day_of_month=? ] [ month_start_time=? ] [ hour_of_day=? ] [ minute_of_hour=? ] [ frequency_time=? ]

Parameters

Parameter

Description

Value

name=? Name of a timing snapshot schedule.

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

file_system_id=? File system ID.

The value is an integer between 0 and 65535.

period=? Policy type of a schedule.

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

  • daily: creates timing snapshots on a daily basis
  • weekly: creates timing snapshots on a weekly basis
  • monthly: creates timing snapshots on a monthly basis.
  • frequency: creates timing snapshots at a fixed interval.
If multiple policies are selected, separate them with commas (,). For example, period=daily, weekly.
day_of_week=? Day of a week when a timing snapshot needs to be created.

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

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

week_start_time=? Time of a week when a timing snapshot needs to be created.

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

day_of_month=? Day of a month when a timing snapshot needs to be created.

The value is an integer between 1 and 31.

If multiple months are selected, separate them with commas (,). For example, day_of_month=1,2,3.

hour_of_day=? Hour of a day when a timing snapshot needs to be created.

The value is an integer between 0 and 23. The unit is hour. If multiple hours are selected, separate them with commas (,). For example, hour_of_day=1,2,3.

minute_of_hour=? Minute of an hour of a day when a timing snapshot needs to be created.

The value is an integer between 0 and 59. The unit is minute.

month_start_time=? Time of a month when a timing snapshot needs to be created.

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

frequency_time=? Fixed interval between creating timing snapshots.

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.
  • Before running this command, check whether the file system already has a schedule.
  • If "period" is set to "daily", "hour_of_day" and "minute_of_hour" must be entered.
  • If "period" is set to "weekly", "day_of_week" and "week_start_time" must be entered.
  • If "period" is set to "monthly", "day_of_month" and "month_start_time" must be entered.
  • If "period" is set to "frequency", "frequency_time" must be entered.

Example

Create a timing snapshot schedule for file system "1".

admin:/>create fs_snapshot schedule name=auto file_system_id=1 period=daily,weekly,monthly,frequency day_of_week=sun week_start_time=12:23 day_of_month=5 month_start_time=12:25 hour_of_day=12 minute_of_hour=20 frequency_time=10
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084078

Views: 317862

Downloads: 253

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