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


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


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).
show copy_policy

show copy_policy


Query copy policies.


show copy_policy [details=?] [copy_policy_name_pattern=?] [page=?] [page_size=?] [ID=?]






Query mode.

The value can be brief or verbose, where:

  • brief: display general information about copy policies.
  • verbose: display details about a copy policy.


Full or partial characters of copy-policy's names.

This parameter is valid only when details is brief.

The value contains a string of 1 to 128 characters which can only be letters, digits, Chinese characters, plus signs (+), underscores (_), hyphens (-), periods (.), and at signs (@).


When there are too many copy strategies, you need to display the page. This parameter specifies the information that needs to be displayed on the first few pages.

This parameter is valid only when details is verbose.

The value is an integer ranging from 1 to 10000. The default value is 1.


Quantity of records displayed on one page.

This parameter is valid only when details is verbose.

The value is an integer ranging from 15 to 100. The default value is 50.


The ID of the copy policy.

This parameter is valid only when details is verbose.

The value is an integer ranging from 1 to 9223372036854775807.




Common user

Usage Guidelines



  • Query information about the copy policies.
    management:/>show copy_policy 
    Total records:2, page size:50, total pages:1. 
    ID  Name       Schedule Type  Retry Enable  Retry Times  Retry Duration(hours)  Target Retention Type  Data Layout  Description      
    --  ---------  -------------  ------------  -----------  ---------------------  ---------------------  -----------  -------------- 
    5 policy001  Oncetime       True          3            4                      Permanently            regular      --               
    7 policy002  Day            True          3            4                      BackupImageQuantity    compressed --          
  • Query details about a specific copy policy.
    management:/>show copy_policy details=verbose ID=5 
    ID                              : 5                
    Name                            : policy001        
    Schedule Type                   : Oncetime         
    Days in a Week                  : --               
    Weeks in a Month                : --               
    Excluded Days in a Month        : --               
    Point in time                   : --               
    Once Date                       : 2015-03-19/17:16  
    Retry Enable                    : True             
    Retry Times                     : 3                
    Retry Duration(hours)           : 4                
    Target Retention Type           : Permanently      
    Data Layout                     : regular          
    Number Of Generations           : --               
    Yearly Backup Images Retention  : --               
    Monthly Backup Images Retention : --               
    Weekly Backup Images Retention  : --               
    Daily Backup Images Retention : --               
    Keep For Time                   : --               
    Description                     : --     

System Response

The following table explains some parameters in the command output:




The ID of the copy policy.


The name of the copy policy.

Schedule Type

Schedule type. The value can be Day or Oncetime.

Days in a Week

Days (in a week) when the policy is executed. Every two days are separated by a comma (,).

Weeks in a Month

Weeks (in a month) when the policy is executed.

Excluded Days in a Month

Days (in a month) when the policy is not executed.

Point in time

Time to schedule a copy task

Once Date

Time when the policy is executed for once.

Retry Enable

Whether to try again if the copy-job fails.

Retry Times

Retry times.

Retry Duration (hours)

Time span from the start of the first copy to the end of the retry.

Target Retention Type

Defines the retention period and number of snapshots by copy-jobs. The value can be SnapQuantity, Time, or Permanently.

Data Layout

Format of the copy data stored on the back-end storage. The value can be regular or compressed.

Number Of Generations

Number of retained backup images.

Yearly Backup Images Retention

Retention years of backup images (one copy a year).

Monthly Backup Images Retention

Retention months of backup images (one copy a month).

Weekly Backup Images Retention

Retention weeks of backup images (one copy a week).

Daily Backup Images Retention

Retention days of backup images (one copy a day).

Keep For Time

Retention period of the backup images.


The description of the copy policy.

Updated: 2019-04-26

Document ID: EDOC1100079912

Views: 2612

Downloads: 1

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