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

HUAWEI CLOUD Stack 6.5.0 Backup and Restoration Guide 03

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).
Backing up eBackup Data

Backing up eBackup Data

The tool allows you to save management data of the backup manager to SFTP storage, and management data of the backup server to SFTP storage, NFS storage, S3 storage, or FTP storage.

If you need to replace the management data backup storage of the backup manager or backup server at the site, see Configuring a backup policy .

Configuring a backup policy

The backup of eBackup management data (such as databases and configuration files) is used to restore the eBackup management system after a disaster occurs. This chapter describes how to configure management data backup storage and configure a backup policy. eBackup supports NFS, S3, FTP and SFTP storage as management data backup storage.

Context
  • When eBackup management data is backed up, the shared storage capacity must be calculated in advance. When the shared storage capacity is insufficient, the latest backup job will fail. The capacity of the shared storage is related to backup data retention policies.
    • When Daily Backup is selected

      The relationship between retention policies and the planned capacity of shared storage for storing backup management data is: Capacity of shared storage for storing backup management data = [(Number of yearly backup copies + Number of monthly backup copies + Number of weekly backup copies + Number of daily backup copies +1) x 10 + 15] GB.

      • For example, when the default retention policy is used, the capacity of shared storage for storing backup management data = [(0 + 1 + 1 + 1 + 1) × 10 + 15] GB = 55 GB.
      • When Yearly Backup is set to Permanent, planned capacities depend on the number of years for saving backup copies. The capacity of shared storage for storing backup management data = [(Number of planned yearly backup copies + Number of monthly backup copies + Number of weekly backup copies + Number of daily backup copies+ 1) × 10 + 15] GB.
    • When Hourly Backup is selected

      The relationship between retention policies and the planned capacity of shared storage for storing backup management data is: Capacity of shared storage for storing backup management data = [(Number of yearly backup copies + Number of monthly backup copies + Number of weekly backup copies + Number of daily backup copies + Number of hourly backup copies + 1) x 10 + 15] GB.

      • For example, when the default retention policy is used, the capacity of shared storage for storing backup management data = [(0 + 1 + 1 + 1 + 1 + 1) × 10 + 15] GB = 65 GB.
      • When Yearly Backup is set to Permanent, planned capacities depend on the number of years for saving backup copies. The capacity of shared storage for storing backup management data = [(Number of planned yearly backup copies + Number of monthly backup copies + Number of weekly backup copies + Number of daily backup copies + Number of hourly backup copies + 1) × 10 + 15] GB.
  • The backup storage of management data must be configured for the backup manager and the backup server.
  • Configure separate backup storage space for eBackup management data.
NFS

When eBackup uses the NFS shared storage as the backup storage for management data (such as databases and configuration files), configure backup storage information and backup policies to restore the eBackup management system after a disaster occurs as instructed in this section.

Context

The backup storage of management data must be configured for the backup manager and the backup server. This section describes the procedure of configuring the backup storage of management data of the backup manager. This procedure also applies to the configuration of the backup storage of the backup server.

Prerequisites
  • You have planned the capacity of the NFS shared storage. The capacity of the shared storage must meet the requirements. Otherwise, the backup job will fail. For details, see Context.
  • You have created the NFS shared storage in advance. The client IP address of the NFS share is the backup storage plane IP address of the eBackup server, and the storage side does not restrict the permission of user root of the eBackup server. That is, user root has full control permission on the NFS share directory. For example, if OceanStor 9000 is used as the NFS shared storage, select no_all_squash and no_root_squash when setting NFS file sharing parameters, and set the permission to Read and write.
Procedure

Configuring the backup storage

  1. Log in to the backup manager GUI using a browser.

    Login address: https://IP address corresponding to the Workflow-Management-Float-IP field:8088

    Default account: admin. Default password: Cloud12#$ for installation using HUAWEI CLOUD Stack Deploy, and PXU9@ctuNov17! for manual installation.

  1. On the menu bar, choose > Configuration > Management Data Backup > Set Backup Storage.
  2. Configure the backup storage information for eBackup management data.

    eBackup supports the NFS, S3, FTP and SFTP storage as the backup storage for management data. This section describes how to configure the backup storage of the NFS type. Table 1-8 describes the related parameters.

    Backup storage of management data and backup storage for storing user VM data cannot use the same NFS shared directory. Otherwise, the backup task may fail.

    Table 1-8 Backup storage parameters (NFS)

    Parameter

    Description

    Setting Rule

    Type

    Type of backup storage of management data.

    NFS

    Path

    Share path to access NFS storage.

    IPv4 path format: IP address or domain name:/share path or share name.

    IP address and domain name indicate the service IP address and domain name of the NAS storage system, respectively. If the backup storage is OceanStor V300R006C00 or later, enter share name in the path. For other backup storage versions, enter share path.

    The path contains a maximum of 1 to 255 characters, including letters, digits, and special characters (.#%-=@{_}/:). It cannot end with a slash (/).

    NOTICE:
    • The management data backup storage cannot use the same path as the storage unit. Otherwise, the storage unit cannot be accessed.
    • The NFS management data backup storage or NFS storage unit cannot use the same file system as the FTP management data backup storage. Otherwise, the FTP management data fails to be backed up.

    Identifier

    Name of a subdirectory saving the management data, which differentiates backup copies of management data in the eBackup system.

    The identifier length ranges from 1 to 64 characters and can contain only letters, digits, underscores (_), and hyphens (-).

    If a subdirectory with the same name already exists, the system uses the existing subdirectory forcibly.

    Whether to write backup data of eBackup if a sub-folder with the same name exists.
    • If selected,

      If a sub-folder with the same name exists, backup data of eBackup will be written to the existing sub-folder with the same name.

      NOTE:

      If multiple eBackup systems use the same backup subfolder, the management data backup will be unavailable. You are advised to name different subfolders for multiple eBackup systems.

    • If unselected,

      If multiple eBackup systems use the same backup subfolder, the management data backup will be unavailable. You are advised to name different subfolders for multiple eBackup systems.

    -

  3. Click OK to finish configuring backup storage.

    After the configuration is completed, the backup storage configuration status will be shown to the right of the Set Backup Storage button.
    • : The configuration is in progress.
    • No icon: The configuration is successful.
    • : The configuration failed. If the configuration fails, click Set Backup Storage and reconfigure.

Configuring a backup policy

  1. Click Automatic Backup Settings.

    In the dialog box that is displayed, configure a backup policy as prompted.
    • When Daily Backup is selected, the following figure shows the default system settings.

    • When Hourly Backup is selected, the following figure shows the default system settings.

  2. After the automatic backup policy is configured, click OK. The policy takes effect immediately.

    You are advised to set the backup time to off-peak hours to reduce impact on services, for example, 00:00 to 02:00.

    If backup time overlaps (for example, monthly backup and weekly backup happen on the same Monday), the system defines backup data with the highest priority. The priority is Yearly Backup > Monthly Backup > Weekly Backup > Daily Backup > Hourly Backup.

S3

When eBackup uses the S3 storage as the backup storage for management data (such as databases and configuration files), configure backup storage information and backup policies to restore the eBackup management system after a disaster occurs as instructed in this section.

Context

The backup storage of management data must be configured for the backup manager and the backup server. This section describes the procedure of configuring the backup storage of management data of the backup manager. This procedure also applies to the configuration of the backup storage of the backup server.

Prerequisites
  • You have planned the capacity of the S3 shared storage. The capacity of the shared storage must meet the requirements. Otherwise, the backup job will fail. For details, see Context.
  • You have obtained the domain name or IP address of the S3 storage service planefrom the S3 storage service administrator, as well as the bucket name, AK, and SK that stores backup data.
Procedure

Configuring the backup storage

  1. Log in to the backup manager GUI using a browser.

    Login address: https://IP address corresponding to the Workflow-Management-Float-IP field:8088

    Default account: admin. Default password: Cloud12#$ for installation using HUAWEI CLOUD Stack Deploy, and PXU9@ctuNov17! for manual installation.

  2. On the menu bar, choose > Configuration > Management Data Backup > Set Backup Storage.
  3. Configure the backup storage information for eBackup management data.

    eBackup supports the NFS, S3, FTP and SFTP storage as the backup storage for management data. This section describes how to configure the backup storage of the S3 type. Table 1-9 describes the related parameters.

    Backup storage of management data and backup storage for storing user VM data cannot use the same bucket. Otherwise, the backup task may fail.

    Table 1-9 Backup storage parameters (S3)

    Parameter

    Description

    Setting Rule

    Type

    Type of backup storage of management data.

    S3

    Protocol

    Network protocol for the communication between the eBackup management system and S3 storage. Options include HTTP and HTTPS.

    • When using the HTTPS protocol, import a valid certificate for the backup management system to verify the S3 storage information. Obtain the certificate from the S3 storage administrator.

      For details about how to import a certificate, see section Importing the Certificates of Peripheral Components of eBackup in HUAWEI CLOUD Stack 6.5.0 Security Management Guide.

    • Security risks arise if the protocol is set to HTTP. You are advised to select the HTTPS protocol.

    AK

    Access Key (AK): Confirms the identity of a user accessing the object-based storage system.

    -

    SK

    Secret Key (SK): Allows a user to access an object-based storage system. Secret access keys and access key IDs are in one-to-one match.

    -

    Path

    Path to access S3 storage.

    IPV4 path format: IP or domain name:/bucket name

    IPV6 path format: [IP] or domain name:/bucket name

    IP and domain name indicate the service IP address of an object-based storage system and the domain name of the object-based storage system, respectively. A bucket name contains 3 to 255 letters, digits, and special characters. Special characters include periods (.), hyphens (-), and underscores (_).

    Identifier

    Name of a subdirectory saving the management data, which differentiates backup copies of management data in the eBackup system.

    The identifier length ranges from 1 to 64 characters and can contain only letters, digits, underscores (_), and hyphens (-).

    If a subdirectory with the same name already exists, the system uses the existing subdirectory forcibly.

    Whether to write backup data of eBackup if a sub-folder with the same name exists.
    • If selected,

      If a sub-folder with the same name exists, backup data of eBackup will be written to the existing sub-folder with the same name.

      NOTE:

      If multiple eBackup systems use the same backup subfolder, the management data backup will be unavailable. You are advised to name different subfolders for multiple eBackup systems.

    • If unselected,

      If multiple eBackup systems use the same backup subfolder, the management data backup will be unavailable. You are advised to name different subfolders for multiple eBackup systems.

    -

  4. Click OK to finish configuring backup storage.

    After the configuration is completed, the backup storage configuration status will be shown to the right of the Set Backup Storage button.
    • : The configuration is in progress.
    • No icon: The configuration is successful.
    • : The configuration failed. If the configuration fails, click Set Backup Storage and reconfigure.

Configuring a backup policy

  1. Click Automatic Backup Settings.

    In the dialog box that is displayed, configure a backup policy as prompted.
    • When Daily Backup is selected, the following figure shows the default system settings.

    • When Hourly Backup is selected, the following figure shows the default system settings.

  2. After the automatic backup policy is configured, click OK. The policy takes effect immediately.

    You are advised to set the backup time to off-peak hours to reduce impact on services, for example, 00:00 to 02:00.

    If backup time overlaps (for example, monthly backup and weekly backup happen on the same Monday), the system defines backup data with the highest priority. The priority is Yearly Backup > Monthly Backup > Weekly Backup > Daily Backup > Hourly Backup.

FTP

If you use the FTP shared storage as the backup storage of the management data, such as databases and configuration files, configure the backup storage information and backup policies by referring to this section.

Context

The backup storage of management data must be configured for the backup manager and the backup server. This section describes the procedure of configuring the backup storage of management data of the backup manager. This procedure also applies to the configuration of the backup storage of the backup server.

Prerequisites
  • You have planned the capacity of the FTP shared storage. The capacity of the shared storage must meet the requirements. Otherwise, the backup job will fail. For details, see Context.
  • eBackup has full control permission (read, write, and delete) on the FTP shared directory.
Procedure

Configuring the backup storage

  1. Log in to the backup manager GUI using a browser.

    Login address: https://IP address corresponding to the Workflow-Management-Float-IP field:8088

    Default account: admin. Default password: Cloud12#$ for installation using HUAWEI CLOUD Stack Deploy, and PXU9@ctuNov17! for manual installation.

  2. On the menu bar, choose > Configuration > Management Data Backup > Set Backup Storage.
  3. Configure the backup storage information for eBackup management data.

    eBackup supports the NFS, S3, FTP and SFTP storage as the backup storage for management data. This section describes how to configure the backup storage of the FTP type. Table 1-10 describes the related parameters.
    Table 1-10 Backup storage parameters (FTP)

    Parameter

    Description

    Setting Rule

    Type

    Type of backup storage of management data.

    FTP

    Protocol

    Network protocol for the communication between the eBackup management system and FTP storage. Options include FTP and FTPs.

    • When using the FTPs protocol, import a valid certificate for the backup management system to verify the FTP storage information. Obtain the certificate from the FTP storage administrator.

      For details about how to import a certificate, see section Importing the Certificates of Peripheral Components of eBackup in HUAWEI CLOUD Stack 6.5.0 Security Management Guide.

    • Security risks arise if the protocol is set to HTTP. You are advised to select the HTTPS protocol.

    Address

    IP address or domain name of the FTP server.

    -

    Port

    Management port of the FTP server.

    Set this parameter to the actual port of the FTP server.

    • If the connection mode of the FTP server is set to Implicit, the default port is 990.
    • If the connection mode of the FTP server is set to Explicit, the default port is 21.

    Username

    User name for logging in to the FTP server.

    -

    Password

    Password for logging in to the FTP server.

    -

    Path

    Path for accessing the FTP server.

    The path format is "/File path". The file path is the file directory where the FTP backup storage resides. A file path consists of 1 to 255 letters, digits, and special characters including .#%-=@{_}~/: and cannot end with a slash (/).

    NOTICE:

    The NFS management data backup storage cannot use the same file system as the FTP management data backup storage.

    Identifier

    Name of a subdirectory saving the management data, which differentiates backup copies of management data in the eBackup system.

    The identifier length ranges from 1 to 64 characters and can contain only letters, digits, underscores (_), and hyphens (-).

    If a subdirectory with the same name already exists, the system uses the existing subdirectory forcibly.

    Whether to write backup data of eBackup if a sub-folder with the same name exists.
    • If selected,

      If a sub-folder with the same name exists, backup data of eBackup will be written to the existing sub-folder with the same name.

      NOTE:

      If multiple eBackup systems use the same backup subfolder, the management data backup will be unavailable. You are advised to name different subfolders for multiple eBackup systems.

    • If unselected,

      If multiple eBackup systems use the same backup subfolder, the management data backup will be unavailable. You are advised to name different subfolders for multiple eBackup systems.

    -

  4. Click OK to finish configuring backup storage.

    After the configuration is completed, the backup storage configuration status will be shown to the right of the Set Backup Storage button.
    • : The configuration is in progress.
    • No icon: The configuration is successful.
    • : The configuration failed. If the configuration fails, click Set Backup Storage and reconfigure.

Configuring a backup policy

  1. Click Automatic Backup Settings.

    In the dialog box that is displayed, configure a backup policy as prompted.
    • When Daily Backup is selected, the following figure shows the default system settings.

    • When Hourly Backup is selected, the following figure shows the default system settings.

  1. After the automatic backup policy is configured, click OK. The policy takes effect immediately.

    You are advised to set the backup time to off-peak hours to reduce impact on services, for example, 00:00 to 02:00.

    If backup time overlaps (for example, monthly backup and weekly backup happen on the same Monday), the system defines backup data with the highest priority. The priority is Yearly Backup > Monthly Backup > Weekly Backup > Daily Backup > Hourly Backup.

SFTP

If you use the SFTP shared storage as the backup storage of the management data, such as databases and configuration files, configure the backup storage information and backup policies by referring to this section.

Context

The backup storage of management data must be configured for the backup manager and the backup server. This section describes the procedure of configuring the backup storage of management data of the backup manager. This procedure also applies to the configuration of the backup storage of the backup server.

Prerequisites
  • You have planned the capacity of the SFTP shared storage. The capacity of the shared storage must meet the requirements. Otherwise, the backup job will fail. For details, see Context.
  • eBackup has full control permission (read, write, and delete) on the SFTP shared directory.
Procedure

Configuring the backup storage

  1. Log in to the backup manager GUI using a browser.

    Login address: https://IP address corresponding to the Workflow-Management-Float-IP field:8088

    Default account: admin. Default password: Cloud12#$ for installation using HUAWEI CLOUD Stack Deploy, and PXU9@ctuNov17! for manual installation.

  2. On the menu bar, choose > Configuration > Management Data Backup > Set Backup Storage.
  3. Configure the backup storage information for eBackup management data.

    eBackup supports the NFS, S3, FTP and SFTP storage as the backup storage for management data. This section describes how to configure the backup storage of the FTP type. Table 1-11 describes the related parameters.
    Table 1-11 Backup storage parameters (SFTP)

    Parameter

    Description

    Setting Rule

    Type

    Type of backup storage of management data.

    SFTP

    Address

    IP address or domain name of the SFTP server.

    -

    Port

    Management port of the FTP server.

    The default port is 22.

    22

    Username

    User name for logging in to the SFTP server.

    -

    Password

    Password for logging in to the SFTP server.

    -

    Path

    Path for accessing the SFTP server.

    The path format is "/File path". The file path is the file directory where the FTP backup storage resides. A file path consists of 1 to 255 letters, digits, and special characters including .#%-=@{_}~/: and cannot end with a slash (/).

    Note: If SFTP management data backup storage is used for disaster recovery, the SFTP address and path configured before disaster recovery must be the same as the SFTP address and path configured during disaster recovery.

  4. Click OK to finish configuring backup storage.

    After the configuration is completed, the backup storage configuration status will be shown to the right of the Set Backup Storage button.
    • : The configuration is in progress.
    • No icon: The configuration is successful.
    • : The configuration failed. If the configuration fails, click Set Backup Storage and reconfigure.

Configuring a backup policy

  1. Click Automatic Backup Settings.

    In the dialog box that is displayed, configure a backup policy as prompted.
    • When Daily Backup is selected, the following figure shows the default system settings.

    • When Hourly Backup is selected, the following figure shows the default system settings.

  1. After the automatic backup policy is configured, click OK. The policy takes effect immediately.

    You are advised to set the backup time to off-peak hours to reduce impact on services, for example, 00:00 to 02:00.

    If backup time overlaps (for example, monthly backup and weekly backup happen on the same Monday), the system defines backup data with the highest priority. The priority is Yearly Backup > Monthly Backup > Weekly Backup > Daily Backup > Hourly Backup.

Viewing Automatic Backup Data

After a backup policy is configured, the system automatically backs up data based on the configured policy. This section describes how to view backup data on the backup manager or backup server.

Procedure
  1. Log in to the backup manager GUI using a browser.

    Login address: https://IP address corresponding to the Workflow-Management-Float-IP field:8088

    Default account: admin. Default password: Cloud12#$ for installation using HUAWEI CLOUD Stack Deploy, and PXU9@ctuNov17! for manual installation.

  2. In the navigation tree, choose > Configuration > Management Data Backup.

    You can view the backup data of the backup manager management data, such as the backup time, trigger type, backup type, and version.

Manually Backing Up Data

You are advised to manually back up system data before and after major operations (such as upgrade and critical data adjustment) to ensure that data can be quickly restored when data is lost.

Procedure
  1. Log in to the backup manager GUI using a browser.

    Login address: https://IP address corresponding to the Workflow-Management-Float-IP field:8088

    Default account: admin. Default password: Cloud12#$ for installation using HUAWEI CLOUD Stack Deploy, and PXU9@ctuNov17! for manual installation.

    The management data of the backup manager and backup server must be backed up. This section describes how to back up the backup manager management data. The procedure for backing up the management data of the backup server is the same.

  2. In the navigation tree, choose > Configuration > Management Data Backup.
  3. Click Immediate Manual Backup. The backup task is executed immediately.
Translation
Download
Updated: 2019-06-14

Document ID: EDOC1100062366

Views: 736

Downloads: 9

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