This topic describes how to modify the number of cache files to limit the memory size of a Hybrid Backup Recovery (HBR) client.
- Log on to the host from which files are backed up.
- Go to the installation directory of the HBR client.
- Create a file named
hbr.configin the folder
- If the
hbr.configfile already exists, you do not need to create it. You can simply edit the file.
hbr.configfile must be at the same directory level as the
- If the
- Set the following parameters of the
Parameter Description max_tree_nodes The maximum number of metadata files that can be cached in memory. Configurable range: 1 to 16384. max_read_dir_names The maximum number of files that can be buffered in memory. Configurable range: 1 to 100000.
The following example shows the configurations of the hbr.config file:
- Restart the HBR backup client.
The following example shows how to restart the HBR client in Linux:
# Restart the HBR client in Linux version 2.x. systemctl restart hbrclient restart hbrclient /etc/init.d/hbrclient restart # Restart the client in Linux version 1.x. systemctl restart hybridbackup restart hybridbackup /etc/init.d/hybridbackup restartThe following example shows how to restart the HBR client in Windows:
Win+R. In the Run dialog box, enter
services.mscand click OK.
- Find the Aliyun Hybrid Backup Service in the service list. Right-click Aliyun Hybrid Backup Service and select Restart.