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 BCManager 6.5.0 eBackup Command Reference 01

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 backup_image

change backup_image

Function

Modifies the retention period of a backup image.

Format

change backup_image ID retention_type [retention_period_by_days=?] [retention_period_by_weeks=?] [retention_period_by_months=?] [retention_period_by_years=?] [retention_period_by_date=?]

Parameters

Parameter

Description

Value

ID

Backup image ID.

The ID contains 36 characters which can be 0-9, a-f, A-F, and hyphens (-).

retention_type

Retention type of the backup image.

Defines the retention period and number of backup images generated by VMs.

The value can be Time or Never, where:

  • Time: retained by time.
  • Never: retained permanently.

retention_period_by_days=?

Retention days of the backup image.

This parameter is valid only when retention_type is Time.

The value is an integer ranging from 1 to 9125.

retention_period_by_weeks=?

Retention weeks of the backup image.

This parameter is valid only when retention_type is Time.

The value is an integer ranging from 1 to 1300.

retention_period_by_months=?

Retention months of the backup image.

This parameter is valid only when retention_type is Time.

The value is an integer ranging from 1 to 300.

retention_period_by_years=?

Retention years of the backup image.

This parameter is valid only when retention_type is Time.

The value is an integer ranging from 1 to 25.

retention_period_by_date=?

A future date to which the backup image is retained.

This parameter is valid only when retention_type is Time.

Format: YYYY-MM-DD.

Range: 2000-01-01 to 2037-12-31.

Views

management

Level

Administrator

Usage Guidelines

None

Example

  • Change the retention period of a backup image to be retained permanently.
    management:/>change backup_image 55055157-3093-4ad7-85d5-4072c1059cd9 Never 
    Command executed successfully.
  • Change the retention period of a backup image to be 20 years.
    management:/>change backup_image 55055157-3093-4ad7-85d5-4072c1059cd9 Time retention_period_by_years=20 
    Command executed successfully.

System Response

None

Download
Updated: 2019-04-26

Document ID: EDOC1100079912

Views: 2644

Downloads: 1

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