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

show copy_plan

Function

Query information about copy plans.

Format

show copy_plan [details=?] [copy_plan_name_pattern=?] [source_repository_name_pattern=?] [copy_policy_name_pattern=?] [target_repository_name_pattern=?] [status=?] [ID=?] [page=?] [page_size=?]

Parameters

Parameter

Description

Value

details=?

Query mode.

The value can be brief or verbose, where:

  • brief: displays general information about copy plans.
  • verbose: displays details about a copy plan.

copy_plan_name_pattern=?

Full or partial characters of copy-plan'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 (@).

source_repository_name_pattern=?

Full or partial characters of source-repository'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 (@).

copy_policy_name_pattern=?

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 (@).

target_repository_name_pattern=?

Full or partial characters of target-repository'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 (@).

status=?

The status of the copy plan .

This parameter is valid only when details is brief.

The value can be:

Active: Activation state.

Deactive: Inactive state.

ID=?

The ID of the copy plan.

This parameter is valid only when details is verbose.

The value is an integer ranging from 1 to 9223372036854775807.

page=?

When there are too many copy plans, a page display is required, which 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.

page_size=?

The 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.

Views

management

Level

Common user

Usage Guidelines

None

Example

  • Query information about copy plans.
    management:/>show copy_plan 
    Total records:1, page size:50, total pages:1. 
     
    ID  Name  Copy Policy Source Repository Target Repository Status    Last Run Time        Next Schedule Time  Last Run Status  Description 
    --  ----  ------------  ------------------  ------------------  --------  -------------------  ------------------  ---------------  ----------- 
    4 bp01  policy01      sourceRepo          targetRepo          Deactive  2016-03-14 18:49:50  --                  Success          --    
            
  • Query details about a specific copy plan.
    management:/>show copy_plan details=verbose ID=4 
     
    ID  Name  Copy Policy Source Repository Target Repository Status    Last Run Time        Next Schedule Time  Last Run Status  Description 
    --  ----  ------------  ------------------  ------------------  --------  -------------------  ------------------  ---------------  ----------- 
    4 bp01  policy01      sourceRepo          targetRepo          Deactive  2016-03-14 18:49:50  --                  Success          --            
     
    Source Repository: 
    Source Repository Name: sourceRep    Storage Pool Name: sp002    Total Capacity(GB): 20.000    Usage(%): 0.4    Alarm Threshold(%): 90 
    Users: test1,test2 
     
    Copy Policy: 
    Copy Policy Name: py001    Schedule Type: Oncetime    Once Date: 2016-03-20/12:00 
    Retry Enable: True    Retry Times: 3    Retry Duration (hours): 4    Retention Type: BackupImageQuantity    Data Layout: regular    Verify Type: quick 
    Description:  
     
    Target Repository: 
    Target Repository Name: targetRep  Storage Pool Name: sp003    Total Capacity(GB): 20.000    Usage(%): 0.4    Alarm Threshold(%): 90 
    Users: test1,test2     

System Response

The following table explains some parameters in the command output:

Parameter

Description

ID

The ID of the copy plan.

Name

The name of the copy plan.

Source Repository

The name of the source repository.

Copy Policy

The name of the copy policy.

Target Repository

The name of the target repository.

Status

The status of the copy plan.

Last Run Time

Time when the copy plan was executed last time.

Next Schedule Time

Time when the copy plan will be executed next time.

Last Run Status

The running status of last time.

Description

The description of the copy plan.

Download
Updated: 2019-04-26

Document ID: EDOC1100079912

Views: 2520

Downloads: 1

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