이 페이지에서는 Windows 호스트에 백업 및 DR 에이전트를 설치하고 백업 상태를 확인하고, 백업 및 DR 에이전트를 다시 시작 및 제거하는 등의 다른 작업을 실행하는 방법을 설명합니다.
작동 방식
Microsoft Windows용 백업 및 DR 에이전트는 로컬 시스템 계정에서 Windows 서비스로 실행됩니다. 백업 및 DR 에이전트는 설치 디렉터리의 로그 파일에 로그를 기록합니다. Microsoft Windows Server의 경우 설치 프로그램은 connector-Win32-<version>.exe 형식입니다.
Windows 백업 및 DR 에이전트를 설치할 때 변경 추적 드라이버를 설치할 수 있습니다. Microsoft SQL Server 애플리케이션을 보호하려는 경우 변경 추적 드라이버와 함께 백업 및 DR 에이전트를 설치하여 효율적인 증분 백업을 사용 설정하세요.
Microsoft SQL Server는 NTFS 및 ReFS 볼륨에서 지원됩니다.
변경 추적 드라이버는 SMB 볼륨을 지원하지 않습니다.
에이전트를 설치한 후에는 백업/복구 어플라이언스와 백업 및 DR 에이전트 간에 신뢰할 수 있는 통신을 초기화해야 합니다. 이 작업은 한 번만 하면 됩니다.
보안 비밀 키는 생성 후 2시간 이내에 추가해야 합니다. 비밀 키가 만료되면 새 키를 생성해야 합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003eThis guide outlines the process of installing, managing, and uninstalling the Backup and DR agent on Windows hosts, including steps for checking agent status and regenerating the secret key.\u003c/p\u003e\n"],["\u003cp\u003eInstalling the Backup and DR agent on Windows can be done through a graphical wizard or via the command prompt, with the option to include a Change Tracking Driver for SQL Server backups.\u003c/p\u003e\n"],["\u003cp\u003eAfter installation, the agent runs as a Windows service, and a secret key is generated which must be used within two hours to establish trusted communication with the backup/recovery appliance.\u003c/p\u003e\n"],["\u003cp\u003eThe guide details how to check if the Backup and DR agent is running, how to regenerate the secret key, how to restart the agent, and how to add a previously saved key within the management console.\u003c/p\u003e\n"],["\u003cp\u003eThe Backup and DR agent can also be uninstalled via the command prompt or by using the uninstallation application that comes with the installation.\u003c/p\u003e\n"]]],[],null,["# Backup and DR agent on Windows hosts\n\nThis page describes how to install the Backup and DR agent on a Windows host and\nperform other operations such as check the status of your backup, restart, and\nuninstall the Backup and DR agent.\n\nHow it works\n------------\n\nThe Backup and DR agent for Microsoft Windows runs as\na Windows service under the Local System account. The Backup and DR agent\nwrites logs to a log file in its installation directory. For Microsoft\nWindows Server, the installer comes in `connector-Win32-\u003cversion\u003e.exe` format.\n| **Note:** If you intend to manage multiple clustered Windows hosts, then install a Backup and DR agent on each host.\n\nWhen you install the Windows Backup and DR agent, you have the option\nto install the Change Tracking Driver. If you plan to protect Microsoft SQL\nServer applications, install the Backup and DR agent with the\nChange Tracking Driver to enable efficient incremental backups.\n\nMicrosoft SQL Server is supported on NTFS and ReFS volumes.\nThe Change Tracking Driver doesn't support SMB volumes.\n\nAfter you install the agent, you need to initialize trusted communications\nbetween the backup/recovery appliance and the Backup and DR agent. This only\nneeds to be done once.\nThe secret key needs to be added within two hours of being generated. If the\nsecret key expires, you need to [generate a new key](#regenerate).\n\nInstall the Backup and DR agent on a Windows host\n-------------------------------------------------\n\nTo install the Backup and DR agent on a Windows host, use the following\ninstructions:\n\n1. Download the Windows Backup and DR agent from the\n [Obtain the right Backup and DR agent for your host](/backup-disaster-recovery/docs/concepts/about-connector#right-connector) section.\n\n2. Log on to the host as a user with the **Administrator** account type.\n\n3. If this is a Compute Engine instance, you need to ensure the iSCSI initiator\n is started and also ensure it auto-starts upon reboot. To do this, launch the\n **iSCSI Initiator** application using the following steps.\n\n 1. Click the **Start Menu**.\n\n 2. Type in **iSCSI Initiator** to find the application.\n\n 3. Launch the process.\n\n 4. When prompted to enable iSCSI, click **Yes**.\n\n The **iSCSI Initiator** page appears. To close it, click **OK**.\n4. Copy the installer file to your Windows server.\n\n5. Launch `connector-win32-`\u003cvar translate=\"no\"\u003eversion\u003c/var\u003e`.exe.`\n\n6. Click **Run** and follow the setup wizard instructions.\n\n7. Select the designated location where you want to install the agent and\n click **Next**.\n\n8. If you intend to protect SQL Server databases, select\n **Backup and DR agent with Change Tracking Driver** and click **Next**.\n\n9. Select the\n **Add windows Firewall rules to enable communication on the default port (5106)**\n checkbox and click **Next**.\n\n | **Note:** Port 5106 must be open for UDSAgent to ensure that the backup/recovery appliance can communicate with the agent running on the host. This requires an ingress firewall rule where the backup/recovery appliance is the source, the host running the agent is the target and the target port is 5106. Additionally, you don't need to add port 5106 to the default ingress rule created for the appliance, as this specifies the appliance as the target.\n10. Click **Install**.\n\n11. After you install the agent, a secret key is displayed. Save the key in\n a notepad or editor and click **Next** . You need to add this in the Backup\n and DR agent section of [Add Windows host](/backup-disaster-recovery/docs/configuration/supported-windows).\n This secret key is valid for 2 hours.\n\n | **Note:** If at completion, the agent doesn't display a secret key, you need to manually [generate a key](#regenerate).\n12. Click **Finish**.\n\n### Check Backup and DR agent status\n\nAfter the agent is installed, you can verify its status on the Windows hosts.\n\n#### Verify the agent is running\n\nTo verify that the Backup and DR agent is running, run the following command\non the host. This opens up the Microsoft Management Console (MMC) snap-in\nfor **Services**.\n\n1. Run the following command:\n\n services.msc\n\n2. Verify the following services are both in the **Running** status with\n **Automatic** startup type:\n\n - Google Cloud Backup and DR agent\n\n - Google Cloud Backup and DR CBT agent\n\n### Install the Backup and DR agent from the Windows command prompt\n\nTo install the Backup and DR agent from a script or from a Windows command\nprompt, use the following instructions.\n\n1. Open a Windows Command prompt using the **Run as administrator** option.\n\n2. Run the following command from the directory where you copied the agent\n installer file.\n\n connector-Win32-\u003cvar translate=\"no\"\u003eversion\u003c/var\u003e.exe /SUPPRESSMSGBOXES /NORESTART /VERYSILENT /TYPE=FULL\n\n### Regenerate the secret key\n\nThe secret key that is generated in the\n[Install the Backup and DR agent on a Windows host](#install)\nsection is valid only for two hours. You need to add it to the management\nconsole within this timeframe or generate a new one.\n\nTo generate a new key and add it to the management console, use the following\ninstructions:\n\n1. Open a Windows Command prompt using the **Run as administrator** option.\n\n2. Change to the install directory. By default, the command would be\n `cd C:\\Program Files\\Google Cloud Backup and DR`:\n\n - To reset the secret key after confirmation the action, run the following\n command:\n\n UDSAgent secret --reset\n\n - To reset the secret immediately without confirmation, run the following\n command:\n\n UDSAgent secret --reset --restart\n\n3. Save the secret key in a notepad or in editor. This secret key is valid for\n two hours.\n\n### Restart the Backup and DR agent on a Windows host\n\nTo restart the Backup and DR agent on a Windows host use the following\ninstructions:\n\n1. Open **services.msc** on the host.\n\n2. Select **Google Cloud Backup and DR agent** and click **Restart**.\n\n### Uninstall the Backup and DR agent\n\nTo uninstall the Backup and DR agent, use the following instructions:\n\n1. Open a Windows Command prompt using the **Run as administrator** option.\n\n2. Go to the c`:\\Program Files\\Google Cloud Backup and DR` folder created\n during the installation.\n\n3. Select and double-click the uninstaller executable: `unins000.exe`\n\n4. Click **Yes** to confirm and then click **OK** to finish.\n\n### Uninstall the Backup and DR agent from command prompt\n\nTo uninstall the Backup and DR agent using a script or from a command prompt,\nuse the following instructions.\n\n1. Open a Windows Command prompt using the **Run as administrator** option.\n\n2. Run the following command.\n\n \"C:\\Program Files\\Google Cloud Backup and DR\\unins000.exe\" /VERYSILENT /NORESTART /SUPPRESSMSGBOXES\n\n### Add a secret key\n\nIf you want to update the secret key or if you didn't add the secret key\nthe first time, you can add in the Windows host using the following\ninstructions:\n\n1. Go to management console, select **Manage** and then select **Hosts**.\n\n2. Right-click the Windows host and choose **Edit**.\n\n3. Go to the **Backup and DR agent Settings** section and find the\n **Secret** field.\n\n4. Paste the secret key that you saved earlier in the **Secret** field\n and click **Save** . Ensure the Certificate status changes to **Valid**.\n\nWhat's next\n-----------\n\n- To install the Backup and DR agent on a Linux host, see\n [Install the Backup and DR agent on a Linux host](/backup-disaster-recovery/docs/configuration/linux-agent)\n\n- To install the Backup and DR agent on a Windows host, see\n [Backup and DR agent on Windows hosts](/backup-disaster-recovery/docs/configuration/windows-agent)\n\n- To upgrade the Backup and DR agent, see\n [Maintain Backup and DR agents on hosts](/backup-disaster-recovery/docs/configuration/manage-agent)"]]