A backup gateway is a client program that is installed on a database server. The backup gateway is used to back up a local database to Data Disaster Recovery, perform physical backup and restoration, and automatically download backup sets to a self-managed server. This topic describes how to install a backup gateway.
Scenarios
Server backup gateways
Scenario | Description | Feature |
Physical backup | Physical backup is the database file-level backup. The database files in the operating system are backed up. For more information about physical backup, see Differences between logical backup and physical backup. | The backup gateway starts a process on the database server to receive the tasks that you run in the Data Disaster Recovery console to perform related operations and configure backup schedules. The backup gateway also performs operations to back up and restore data in databases. |
Private network backup | If your database is a private network-type database, such as a database that is deployed on an on-premises data center or in a private network provided by a third-party cloud vendor, Data Disaster Recovery cannot directly access or back up the database. | In this scenario, you can use a backup gateway as the middleware to access Data Disaster Recovery and Object Storage Service (OSS) on the cloud. This way, Data Disaster Recovery can access the private network-type database. |
Automatic download of backup sets | Data Disaster Recovery supports the automatic download of backup sets to your on-premises server. | If you install a backup gateway, the backup gateway accesses the cloud storage on a regular basis and automatically downloads the backup sets to your on-premises server to ensure data security and reliability. |
You need only to install the backup gateway on the database server.
Backup gateways of the bastion host architecture
Assume that an enterprise whose database server resides in its internal network cannot access the Internet. In this case, the enterprise can install a proxy gateway on the bastion host and then install a backup gateway on the database server to back up data. The following table describes the required steps.
Step | Description |
Install a proxy gateway on a bastion host. During data backup, the proxy gateway receives data from the database server on which the backup gateway is located and forwards the data to Data Disaster Recovery cloud storage over the Internet. During restoration or database download, the proxy gateway receives data from the cloud storage and forwards the data to the database server. | |
Install a backup gateway on the database server. When you install the backup gateway, specify the IP address of the proxy gateway. The IP address of the proxy gateway is the private IP address of the bastion host. The backup gateway is the backup software that is installed on the database server. During data backup, the backup gateway connects and queries databases, and then sends data to the bastion host on which the proxy gateway is installed. During restoration, the backup gateway receives data over the Internet by using the proxy gateway on the bastion host and writes the data to the database. |
Prerequisites
The Java environment is installed on the database server. The following requirements must be met:
If the database server runs Linux, make sure that Java Runtime Environment (JRE) 1.8 is installed on the database server. You can visit the official website to download and install JRE 1.8.
If the database server runs Windows, make sure that Java SE Development Kit (JDK) 8u261 is installed on the database server. You can visit the official website to download and install JDK 8u261. Other versions may fail the backup precheck.
NoteYou can run the
java -version
command in the CLI to check whether the current Java version is supported.The following operations are complete:
An AccessKey pair is created, and the AccessKey ID and AccessKey secret are obtained. The AccessKey pair is used for identity authentication when you register with or log on to the Data Disaster Recovery console from your backup gateway. For more information, see Obtain an AccessKey pair.
The AliyunDBSFullAccess and AliyunOSSFullAccess permissions are granted to a Resource Access Management (RAM) user if you want to add a backup gateway as the RAM user. For more information, see Grant permissions to a RAM user.
NoteBy default, the preceding permissions are granted to your Alibaba Cloud account when you activate Data Disaster Recovery.
After a backup gateway is installed, the backup gateway is available in the Data Disaster Recovery console to all RAM users that belong to your Alibaba Cloud account.
More than 1 GB of disk space is available in the directory in which the database server is installed, and you have the following permissions on the database server:
The root permissions if the database server runs Linux
The administrator permissions if the database server runs Windows
The Sysadmin role is assigned to the NT AUTHORITY\SYSTEM account if you want to back up an SQL Server database. You can execute the following SQL statements to assign the Sysadmin role to the NT AUTHORITY\SYSTEM account:
ALTER SERVER ROLE [sysadmin] ADD MEMBER [NT AUTHORITY\SYSTEM] GO
NoteBy default, the NT AUTHORITY\SYSTEM account is used to start AliyunDBSAgent.
Precautions
If you previously installed a backup gateway and want to install a new backup gateway, we recommend that you uninstall the previous backup gateway, delete the
dbs_agent
backup folder, and clear the environment settings before you install the new backup gateway. For more information, see Upgrade or uninstall a backup gateway.Backup gateways of some earlier versions have the Apache Log4j2 remote code execution (RCE) vulnerability. For more information, see Alibaba Cloud Statement on the Impact Assessment of Apache Log4j2 RCE Vulnerability (CVE-2021-44228). We recommend that you update a backup gateway whose version is 0.0.129 or earlier to the latest version at the earliest opportunity and reconnect to the backup gateway for your physical backup schedule. For more information, see Upgrade or uninstall a backup gateway.
Installation methods
Data Disaster Recovery automatically determines an installation method for backup gateways, such as installation by using a GUI or a CLI, based on your system environment. You can also install a backup gateway in unattended mode.
Data Disaster Recovery checks whether the current environment has a GUI. By default, a GUI such as Windows, GNOME, and KDE is used to install a backup gateway. If the current environment does not have a GUI, a CLI is used to install a backup gateway.
Install a backup gateway by using a GUI
Log on to the DMS console V5.0.
Move the pointer over the
icon in the upper-left corner and choose .
NoteIf you use the DMS console in normal mode, choose
in the top navigation bar.Click Install Backup Gateway in the upper-right corner of the page.
Copy the command that is used to install backup gateways and run the command on the Windows CLI.
NoteAfter the download is complete, the installation package is automatically run. You can perform the following steps to install the package.
Select an installation language and click Next.
Read and accept the terms of the agreement and click Next.
Select DBS Backup Gateway and click Next.
NoteIn this example, a backup gateway is installed to access on-premises data. To access data on a bastion host, see Backup gateway of the bastion host architecture.
Select an installation directory, click Next, and then click Yes.
Confirm the region that is specified by the Agent Region parameter, enter the AccessKey ID and AccessKey secret, and then click Next.
NoteCheck whether the Agent Region parameter specifies the region that is nearest to your database. If you want to change the region, select another region.
The AccessKey pair is stored in plaintext in the
.\config\dbs-agent.conf
file of the installation directory.If you use a network topology that contains a bastion host, you must enter the private IP address and port number of the bastion host in the Database Gateway Address and Database Gateway Port fields. The default port number is 9797. For more information, see Backup gateways of the bastion host architecture.
Confirm the component package that you want to install and click Next.
The installation starts. The installation requires approximately one to five minutes to complete.
After the installation is complete, click Next.
Click Done. The backup gateway is installed.
In the Run dialog box of Windows, enter
services.msc
and click OK. The service manager dialog box of the system appears.In the service manager, check whether the AliyunDBSAgent service is started. If the service is not started, right-click AliyunDBSAgent and select Start.
NoteThe system starts the backup gateway by default. You can also start and stop the AliyunDBSAgent service in the service manager.
Log on to the Data Disaster Recovery console. On the Backup Gateway page, click Refresh to view the installed backup gateway.
Install a backup gateway by using a CLI
Log on to the DMS console V5.0.
Move the pointer over the
icon in the upper-left corner and choose .
NoteIf you use the DMS console in normal mode, choose
in the top navigation bar.Click Install Backup Gateway in the upper-right corner of the page.
Configure the Backup Gateway Network Type parameter and copy the command that is used to install backup gateways. Run the command on your database server.
NotePublic Network: You can access Data Disaster Recovery by using a public IP address.
ECS Private Network /VPC: You can access Data Disaster Recovery by using an Alibaba Cloud Express Connect circuit.
Run the installation command in the Linux CLI. The system downloads and runs the installation package. Example:
[root@iZbp****** ~]# wget -O aliyunDBSAgentInstaller.jar https://aliyun-dbs.oss-cn-hangzhou-internal.aliyuncs.com/installer/0.0.141/aliyunDBSAgentInstaller-0.0.141.jar && sudo java -Dregion=cn-hangzhou -jar aliyunDBSAgentInstaller.jar --2023-08-25 15:44:35-- https://aliyun-dbs.oss-cn-hangzhou-internal.aliyuncs.com/installer/0.0.141/aliyunDBSAgentInstaller-0.0.141.jar Resolving aliyun-dbs.oss-cn-hangzhou-internal.aliyuncs.com (aliyun-dbs.oss-cn-hangzhou-internal.aliyuncs.com)... 100.XXX.XX.XX, 100.XXX.XX.XX, 100.XXX.XX.XX, ... Connecting to aliyun-dbs.oss-cn-hangzhou-internal.aliyuncs.com (aliyun-dbs.oss-cn-hangzhou-internal.aliyuncs.com)|100.XXX.XX.XX|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 247955671 (236M) [application/x-java-archive] Saving to: 'aliyunDBSAgentInstaller.jar' 100%[=====================================================================================================================================================================>] 247,955,671 17.4MB/s in 13s 2023-08-25 15:44:49 (17.6 MB/s) - 'aliyunDBSAgentInstaller.jar' saved [247955671/247955671]
Select an installation language. Enter 0 to select Chinese. Enter 1 to select English. Press the Enter key to confirm.
Select your language 0 [x] chn 1 [ ] eng Input selection: 0
Enter 1 and press the Enter key to confirm.
2025-03-04 17:24:43 INFO JDKChecker - java.home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.432.b06-2.0.2.1.al8.x86_64/jre 2025-03-04 17:24:43 INFO IdentifierGenerator - use defined variable region: cn-hangzhou 2025-03-04 17:24:43 INFO IdentifierGenerator - Alibaba Cloud Linux#ca7c6767-57c2-484d-9fb6-807e385297bb#0F81FBFF006006A6#Intel64 Family 6 Model 106 Stepping 6#32 ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Welcome ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Welcome to install Aliyun DBS Agent 0.0.144. URL: [International site: https://www.alibabacloud.com/en/product/database-backup | China site (aliyun.com): https://www.aliyun.com/product/dbs] Press 1 to continue, 2 to quit, 3 to redisplay 1
Enter 1 to agree to the gateway protocol and press the Enter key to confirm.
Press 1 to accept, 2 to reject, 3 to redisplay 1
Select the component that you want to install. If you enter Y, the component is a backup gateway. If you enter N, the component is a proxy gateway. In this example, Y is entered, which indicates that a backup gateway is installed. Press the Enter key to confirm.
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Component selection ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ----- Agent ----- Enter Y for Yes, N for No: Y DG Not Selected Done!
NoteIn this example, a backup gateway is installed to access on-premises data. If you want to access the data on a bastion host, enter
N
in this step. After the system switches to the installation of a database gateway, enterY
. For more information, see Backup gateways of the bastion host architecture.Enter 1 and press the Enter key to confirm.
Press 1 to continue, 2 to quit, 3 to redisplay 1
Select an installation path. If you press the Enter key, the default path
/usr/local/aliyun/dbs_agent
is used. If you do not want to use the default path as the installation path, enter the path in which you want to install the backup gateway. In this example, the default path is used.The following conditions indicate that the backup gateway has been installed before. You can enter Y and press the Enter key to continue the installation. This operation will overwrite the original backup gateway.
--------------------------- Warning The directory already exists. This operation will overwrite existing files. Are you sure that you want to continue? --------------------------- Enter Y for Yes, N for No: Y Press 1 to continue, 2 to quit, 3 to redisplay 1
Confirm the installation path. Enter O to confirm the installation or C to cancel the installation. Press the Enter key to confirm.
The destination directory is to be created in: /usr/local/aliyun/dbs_agent -------------------------------------- Enter O for OK, C to Cancel: O
Confirm the region in which you want to install the backup gateway and press the Enter key. Default value:
China (Hangzhou)
.───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── User information ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Regions: 0 [x] China (Hangzhou) 1 [ ] China (Shanghai) 2 [ ] China (Beijing) 3 [ ] China (Hong Kong) 4 [ ] China (Shenzhen) 5 [ ] China (Qingdao) 6 [ ] USA (Silicon Valley) 7 [ ] USA (Virginia) 8 [ ] Germany (Frankfurt) 9 [ ] Australia (Sydney) 10 [ ] China (Hohhot) 11 [ ] China (Zhangjiakou) 12 [ ] Singapore 13 [ ] Japan (Tokyo) 14 [ ] China (Chengdu) 15 [ ] China (Nanjing - Local Region) 16 [ ] China (Fuzhou - Local Region) 17 [ ] Malaysia (Kuala Lumpur) 18 [ ] Indonesia (Jakarta) 19 [ ] UAE (Dubai) 20 [ ] UK (London) 21 [ ] India (Mumbai) 22 [ ] China East 1 Finance 23 [ ] China East 2 Finance 24 [ ] China South 1 Finance 25 [ ] China (Heyuan) 26 [ ] China (Ulanqab) 27 [ ] China North 2 Ali Gov 1 28 [ ] Thailand (Bangkok) 29 [ ] Philippines (Manila) 30 [ ] South Korea (Seoul) 31 [ ] SAU (Riyadh - Partner Region) Input selection:
NoteMake sure that the region of the backup gateway is the region where the database resides. To change the region, enter the number of the destination region as prompted.
Enter the Alibaba Cloud AccessKey pair. If you enter an invalid AccessKey pair, the installation fails. Press the Enter key to confirm.
Alibaba Cloud AccessKey pair (Make sure that the account has been granted the AliyunDBSFullAccess and AliyunOSSFullAccess permissions.) AccessKey ID: [] yourAccessKeyID Access Key Secret: [] yourAccessKeySecret
Optional. Enter the information about the proxy gateway. This step is required in scenarios in which a network topology that contains a bastion host is used. In scenarios in which a network topology does not contain a bastion host, you can skip this step by pressing the Enter key twice.
Proxy gateway information (Optional. The information is required in scenarios in which a network topology that contains a bastion host is used.) Proxy gateway IP address: [] Proxy gateway port number: [9797]
NoteIf you use a network topology that contains a bastion host, enter the private IP address and port number of the bastion host. The default port number is 9797. For more information, see Backup gateways of the bastion host architecture.
Enter 1 to confirm the component that you want to install, and then enter 1 to continue the installation. Press the Enter key to confirm.
Press 1 to continue, 2 to quit, 3 to redisplay 1
The installation takes about one to five minutes to complete.
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Select the component. ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Select the package that you want to install: [x] Pack 'Backup gateway base file' required Done! Press 1 to continue, 2 to quit, 3 to redisplay 1 ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Installing ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ==================== Installation started Platform: linux,version=3.10.0-1160.XX.X.el7.x86_64,arch=x64,symbolicName=null,javaVersion=1.8.0_372 [ Starting to unpack ] [ Processing package: Backup gateway base file (1/1) ] Cleaning up the target folder ... [ Unpacking finished ] Installation finished ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Installed ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Installation was successful Application installed on /usr/local/aliyun/dbs_agent [ Writing the uninstaller data ... ] [ Console installation done ]
Return to the Install Backup Gateway page and click Complete Installation in the lower-right corner of the page.
On the Backup Gateways page, click Refresh to view the installed backup gateway.
Upgrade or uninstall a backup gateway
Uninstall the backup gateway, delete the dbs_agent backup folder, and then clear the environment settings. Procedures:
Linux
Log on to the Linux operating system. Run the
cd /usr/local/aliyun/dbs_agent
command to go to the default installation directory of the backup gateway.Run the
java -jar Uninstaller/uninstaller.jar -c
command in the installation directory. The following command output indicates that the uninstallation is complete.Run the
cd /usr/local/aliyun
command to go to the parent directory.Run the
sudo rm -rf dbs_agent
command in the parent directory to delete the dbs_agent backup folder.
Windows
Uninstall AliyunDBSAgent from Programs and Features.
Manually delete the dbs_agent folder.
NoteThe default installation directory of the backup gateway is
C:\Program Files\aliyun\dbs_agent
.
After the backup gateway is uninstalled, reinstall the backup gateway. For more information, see Installation methods.
Proxy gateways of the bastion host architecture
Assume that an enterprise whose database server resides in its internal network cannot access the Internet. In this case, the enterprise can install a proxy gateway on the bastion host and then install a backup gateway on the database server to back up data. Procedures:
Install a proxy gateway on a bastion host
During data backup, the proxy gateway receives data from the database server on which the backup gateway is located and forwards the data to Data Disaster Recovery cloud storage over the Internet. During restoration or database download, the proxy gateway receives data from the cloud storage and forwards the data to the database server.
Install a proxy gateway on a bastion host
This section describes how to install a proxy gateway on a Linux bastion host. Data Disaster Recovery supports a variety of installation methods, such as installation by using a CLI and installation by using a GUI. For more information about the installation methods, prerequisites and usage notes, see Prerequisites.
For more information about how to install a proxy gateway on a Windows bastion host, see Step 1: Install a proxy gateway on a bastion host.
Log on to the DMS console V5.0.
Move the pointer over the
icon in the upper-left corner and choose .
NoteIf you use the DMS console in normal mode, choose
in the top navigation bar.Click Install Backup Gateway in the upper-right corner of the page.
Configure the Backup Gateway Network Type parameter and copy the command that is used to install the backup gateway. Then, run the command on your database server.
NotePublic Network: You can access Data Disaster Recovery by using a public IP address.
ECS Private Network/VPC: You can access Data Disaster Recovery by using an Express Connect circuit.
Run the installation command in the Linux CLI. The system downloads and runs the installation package. Example:
[root@iZbp****** ~]# wget -O aliyunDBSAgentInstaller.jar https://aliyun-dbs.oss-cn-hangzhou-internal.aliyuncs.com/installer/0.0.141/aliyunDBSAgentInstaller-0.0.141.jar && sudo java -Dregion=cn-hangzhou -jar aliyunDBSAgentInstaller.jar --2023-08-25 16:04:52-- https://aliyun-dbs.oss-cn-hangzhou-internal.aliyuncs.com/installer/0.0.141/aliyunDBSAgentInstaller-0.0.141.jar Resolving aliyun-dbs.oss-cn-hangzhou-internal.aliyuncs.com (aliyun-dbs.oss-cn-hangzhou-internal.aliyuncs.com)... 100.XXX.XX.XX, 100.XXX.XX.XX, 100.XXX.XX.XX, ... Connecting to aliyun-dbs.oss-cn-hangzhou-internal.aliyuncs.com (aliyun-dbs.oss-cn-hangzhou-internal.aliyuncs.com)|100.XXX.XX.XX|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 247955671 (236M) [application/x-java-archive] Saving to: 'aliyunDBSAgentInstaller.jar' 100%[=======================================================================================================>] 247,955,671 19.9MB/s in 11s 2023-08-25 16:05:03 (21.4 MB/s) - 'aliyunDBSAgentInstaller.jar' saved [247955671/247955671]
Select an installation language. Enter 0 to select Chinese. Enter 1 to select English.
Select your language 0 [x] chn 1 [ ] eng Input selection: 0
Enter 1 and read the gateway protocol.
Press 1 to continue, 2 to quit, 3 to redisplay 1
Enter 1 to agree to the gateway protocol.
Press 1 to accept, 2 to reject, 3 to redisplay 1
Select the component that you want to install. If you enter Y, the component is a backup gateway. If you enter N, the component is a proxy gateway. In this example, a proxy gateway is installed. Enter N and then enter Y to confirm the component information.
Enter Y for Yes, N for No: N -- DG -- Enter Y for Yes, N for No: Y Done!
Enter 1 to continue the installation.
Press 1 to continue, 2 to quit, 3 to redisplay 1
Select an installation path. If you press the Enter key, the default path
/usr/local/aliyun/dbs_agent
is used.If you want to use a custom path, enter the custom path and enter 1 to confirm it. In this example, the custom path
/usr/local/aliyun/daili_dbs_agent
is used to show how to install the proxy gateway.Select an installation path: [/usr/local/aliyun/dbs_agent] /usr/local/aliyun/daili_dbs_agent Press 1 to continue, 2 to quit, 3 to redisplay 1
Confirm the component that you want to install, and then enter 1 to start the installation.
The installation takes about one to five minutes to complete.
Select the package that you want to install: [x] Pack 'Proxy gateway base file' required Done! Press 1 to continue, 2 to quit, 3 to redisplay 1 └──────────────┴─────────────┴─────────────────┴───────────────────────────────────┴─────────────┴────────────────────┴─────────────┘ Installing └──────────────┴─────────────┴─────────────────┴───────────────────────────────────┴─────────────┴────────────────────┴─────────────┘ ==================== Installation started Platform: linux,version=3.10.0-1XXX.XX.X.el7.x86_64,arch=x64,symbolicName=null,javaVersion=1.8.0_372 [ Starting to unpack ] [Processing package: Proxy gateway base file (1/1) ] Cleaning up the target folder ... [ Unpacking finished ] Installation finished └──────────────┴─────────────┴─────────────────┴───────────────────────────────────┴─────────────┴────────────────────┴─────────────┘ Installed └──────────────┴─────────────┴─────────────────┴───────────────────────────────────┴─────────────┴────────────────────┴─────────────┘ Installation was successful Application installed on /usr/local/aliyun/daili_dbs_agent [ Writing the uninstaller data ... ] [ Console installation done ]
Run the following command to check whether the proxy gateway is installed:
ps aux | grep app_aliyun_proxy
The following command output indicates that the proxy gateway is installed. If you have questions about installation, contact technical support in the DingTalk group (ID 35585947).
[root@iZbp****** ~]# ps aux | grep app_aliyun_proxy root 1**** 0.0 0.5 7***** 9*** ? Ssl 16:06 0:00 /usr/local/aliyun/daili_dbs_agent/dist/app_aliyun_proxy/app_aliyun_proxy -addr :9797 -logdir /usr/local/aliyun/daili_dbs_agent/logs root 2**** 0.0 0.0 1***** 9** pts/1 S+ 16:08 0:00 grep --color=auto app_aliyun_proxy
After the successful installation, install a backup gateway on the database server. For more information, see Prerequisites.
Commands in the Linux CLI that are used to manage the backup gateway
Run the following commands in the Linux CLI to manage the backup gateway:
Start the backup gateway: Run
/usr/local/aliyun/dbs_agent/bin/aliyun-dbs-agent.sh start
.Stop the backup gateway: Run
/usr/local/aliyun/dbs_agent/bin/aliyun-dbs-agent.sh stop
.Restart the backup gateway: Run
/usr/local/aliyun/dbs_agent/bin/aliyun-dbs-agent.sh restart
.Uninstall the backup gateway: Run
java -jar Uninstaller/uninstaller.jar -c
in the installation directory.
FAQ
What do I do if the backup account does not have the required permissions to back up SQL Server databases?
Solution: When you back up SQL Server databases, you must assign the Sysadmin role to the NT AUTHORITY\SYSTEM account. You can execute the following SQL statements to assign the Sysadmin role to the NT AUTHORITY\SYSTEM account:
ALTER SERVER ROLE [sysadmin] ADD MEMBER [NT AUTHORITY\SYSTEM] GO
Do the name and installation time of a backup gateway change after I update or reinstall the backup gateway or change the operating system?
After you update or reinstall the backup gateway, if your hardware environment information, including the CPU model and MAC address, remains unchanged, the name and installation time of the backup gateway remain unchanged.
If you change the operating system, the name and installation time of the backup gateway are changed.
NoteFor example, if you change the operating system from CentOS 7.9 to Alibaba Cloud Linux 3.2104 LTS, the name and installation time of the backup gateway are changed.
If you change the version of the operating system, the name and installation time of the backup gateway remain unchanged.
NoteFor example, if you upgrade the operating system from CentOS 7.9 to CentOS 8.5, the name and installation time of the backup gateway remain unchanged.
What do I do if the Apache Log4j2 RCE vulnerability exists in my backup gateway?
Solution: Backup gateways of some earlier versions have the Apache Log4j2 RCE vulnerability. For more information, see Alibaba Cloud Statement on the Impact Assessment of Apache Log4j2 RCE Vulnerability (CVE-2021-44228). If you use a backup gateway whose version is earlier than 0.0.129, we recommend that you update the backup gateway to the latest version and reconnect to the backup gateway for your physical backup schedule. For more information, see Update a backup gateway.
What do I do if an installed backup gateway does not appear on the Backup Gateway page of the Data Disaster Recovery console?
If your backup gateway is not started, this issue may occur. We recommend that you repeat Step 5 to Step 6 in Install a backup gateway by using a GUI to start the installed backup gateway.
If the region of the server backup gateway is different from the region that you specified for the backup gateway in the Data Disaster Recovery console, this issue may occur. Make sure that the two regions are the same.
If your agent logs contain errors, such as invalid AccessKey pair, this issue may occur. Troubleshoot the issue based on the logs. For example, the AccessKey pair information is incorrect.
If the Backup Gateway page is not refreshed, this issue may occur. On the Backup Gateways page, click Refresh to view the installed backup gateway.
What do I do if an installed backup gateway is in the offline state in the Data Disaster Recovery console?
If your backup gateway is not started, this issue may occur. We recommend that you repeat Step 5 to Step 6 in Install a backup gateway by using a GUI to start the installed backup gateway.
If the region of the server backup gateway is different from the region that you specified for the backup gateway in the Data Disaster Recovery console, this issue may occur. Make sure that the two regions are the same.
If the network connectivity is not established or a routing error occurs, this issue may occur. Check your network or routing settings.
If the version of the JRE or JDK that is installed on your server is not supported, this issue may occur. You must install JRE 1.8 or JDK 8u261. For more information, see Prerequisites.
Where do I view the backup gateway logs on Linux?
If you did not change the installation directory, logs are stored in the
/usr/local/aliyun/dbs_agent/logs
directory.