You can use HBR to back up SMB NAS files in a local IDC and restore them when necessary. This topic describes the preparations that you need to make before backing up data.
- For more information about how to back up SMB NAS files in an ECS instance, see Back up NAS files.
- To achieve the optimal backup speed, we recommend that you run an HBR backup client on a host that uses a 64-bit CPU with at least two cores and has more than 8 GB memory available.
- The size of data that can be backed up varies depending on available memory resources. For example, with 4 GB memory available, you can back up a maximum number of one million files with a total size of 8 TB.
RAM user and AccessKey
Resource Access Management (RAM) is an Alibaba Cloud service that helps you manage user identities and access to your cloud resources. You can create and manage multiple RAM users within a single Alibaba Cloud account. You can grant different permissions to each RAM user, so that RAM users have different access permissions on Alibaba Cloud resources.
You need to use an AccessKey to activate the backup client. We strongly recommend that you use the AccessKey of a RAM user to prevent the leakage of your Alibaba Cloud account AccessKey from compromising the security of all your resources. Make sure that you have Created a RAM user and Created an access key for a RAM user before backing up data.
Add a mount point
Add a client
You can use a file client to back up and restore data. Before that, you need to download the file client to a local IDC. You can download the file client in the HBR console. The procedure is as follows:
- Log on to the HBR console.
Note If the server or virtual machine runs on a Linux operating system without a GUI installed, you need to use an intermediate host with a GUI as an agent to log on to the HBR console.
- At the top of the HBR console, select the region where you want to store backup data.
- If you use a VPC, the selected region must be the same as the region of the VPC where the data to be backed up resides to ensure a fast backup.
- Select a nearby region for better backup performance.
- Select a remote region for disaster recovery.
- In the left-side navigation pane, choose .
- On the File Client page, click Create Client in the upper-right corner.
- In the Create Client dialog box that appears, set the parameters.
The following table describes the parameters.
Parameter Description Backup Vault Name Specify the backup vault. A backup vault is a repository used by HBR to store backup data on the cloud. You can back up data from multiple clients to the same vault.
- If you have created backup vaults:
Click Select Vault and select a vault from the drop-down list.
- If you have not created any backup vaults:
Click Create Vault, and then set Backup Vault Name and Vault Description. The vault name must not exceed 64 bytes in length.
Client Name The name of the client. The client name must not exceed 64 bytes in length. Software Platform The operating system of the host where the data to be backed up resides. Valid values:
- Windows 32-bit
- Windows 64-bit
- Public Network: Select this option when VPCs are inapplicable.
- Virtual Private Cloud (VPC): Select this option when the host resides in a VPC and is in the same region as the backup vault.
- If you have created backup vaults:
- Click Create and then Download Client.
Note After installing the client by using the client installation package, you can use the client to connect to HBR. You can also go to the File Client page and choose More > Download Client in the Actions column to download the client installation package at any time.
Install and activate the client
- The host that runs the client must have access to the Internet. For ECS instances, you can use the EIP or NAT to access the Internet.
- Only a small number of control commands are sent during the Internet access, which incurs few traffic fees.
After the client installation package is downloaded, install and activate the client. The procedure is as follows:
- Run the installation program, select the installation directory, and then complete
the installation as prompted.
Note Make sure that the disk where the installation directory resides has available space because running logs and execution files are stored in this directory.
- After the client is installed, activate it. Log on to the HBR console. In the Create Client dialog box, click Next and then set the parameters as instructed in the following table.
Parameter Description Client IP Address The IP address of the file client that your current host can access. It can be a private or public IP address. For example, you can enter 127.0.0.1 (default), 220.127.116.11:8011, or http://18.104.22.168:8443.Note The IP address must be reachable from your current browser. AccessKey Id The AccessKey ID of the RAM user. Obtain the AccessKey ID and AccessKey Secret of the RAM user for which HBR is activated. AccessKey Secret The AccessKey Secret of the RAM user. Obtain the AccessKey ID and AccessKey Secret of the RAM user for which HBR is activated. Create Client Password The logon password of the client. The password must be at least six characters in length. Confirm Password The confirm password, which must be the same as the password entered above.
- Click Activate Client. The file client operation page automatically appears in the browser. Then, you can
use the file client to back up data.
Note If the file client fails to be activated, you can reactivate the client.