在 Microsoft Windows 伺服器主機上,UDSAgent.logs 會儲存在 C:\Program Files\Google Cloud Backup and DR\log
您可以建立指令碼,在 Windows 主機上執行應用程式的前置和後置動作。建立用來儲存所有指令碼的新資料夾:C:\Program Files\Google Cloud Backup and DR\scripts。
探索本機檔案系統
請按照下列操作說明新增本機檔案系統:
透過下列任一方式探索本機檔案系統:
前往「備份與還原」,然後選取「備份」。
前往「應用程式管理工具」,按一下「應用程式」,然後選取「新增應用程式」。
選取「所有應用程式」圖塊。如果選取「所有應用程式」圖塊,也會看到 Microsoft SQL Server 應用程式。在偵測到本機檔案系統後,您可以使用「應用程式」頁面中的檔案系統篩選器尋找這些系統。
叢集支援的服務存取點 IP 位址
如果檔案系統是叢集資源,且您希望無論哪個叢集節點代管檔案系統,都能夠備份檔案系統,請將叢集資源 IP 位址指定為服務存取點 IP。這樣一來,備份/復原設備就能使用叢集資源 IP 連線至備份和災難復原代理程式,並從有效的叢集節點備份檔案系統。為了讓備份功能在所有叢集節點上正常運作,您必須在所有叢集節點上安裝備份和災難復原代理程式。
[[["容易理解","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 (世界標準時間)。"],[[["\u003cp\u003eThe Backup and DR service supports backing up Windows server applications like Microsoft SQL Server, SMB, and local file systems, requiring the Backup and DR agent to be installed on the Windows host.\u003c/p\u003e\n"],["\u003cp\u003eTo add a new Windows host, navigate to Manage > Hosts, select "+ Add Host," and complete the form with the host's details, including its name, IP address, and appliance association.\u003c/p\u003e\n"],["\u003cp\u003eIf the Windows server is already added as a Compute Engine instance or a VMware VM, you can edit the existing host instead of adding it again, and must enter the Application Discovery Credentials for the supported databases.\u003c/p\u003e\n"],["\u003cp\u003eA secret key is required for the Backup and DR agent settings and can be added during host setup or afterward by editing the host, and it must be supplied before running the application discovery.\u003c/p\u003e\n"],["\u003cp\u003eLocal file systems can be discovered by going to either Back up & Recover and selecting Back up, or App Manager and then selecting Add application, where all apps can be selected.\u003c/p\u003e\n"]]],[],null,["# Add Windows server hosts to the management console\n\nBackup and DR Service supports Windows server application types that include Microsoft\nSQL Server, SMB, and local file systems. Before you can discover and back up\ndata from these hosts, you must do the following:\n\n- [Install the Backup and DR agent on Windows host](/backup-disaster-recovery/docs/configuration/windows-agent)\n\n- Add the Windows host\n\nAdd Windows host\n----------------\n\nIf you have added the Windows server to Backup and DR as a Compute Engine\ninstance or as a VMware VM, then a host for this VM already exists and you don't\nneed to add it again using the following procedure.\nInstead, find and edit that host and proceed from [step 7](#step7).\n\nUse the following instructions to add a new Windows Server host to management console:\n\n1. Click **Manage** \\\u003e **Hosts**.\n\n2. Select **+ Add Host**.\n\n3. In the **Add Host** form, enter the name and an optional friendly name.\n The name of a host should start with a letter, and can contain letters\n and digits (0-9). Underscore ('_') characters are not valid in host names.\n\n4. Enter the IP address of the host in **IP Address** . Click the **plus sign (+)**\n to add it.\n\n5. In the **Appliances** section, select the management console managed\n appliances that serve this host. If the list is long, you can use the search\n field to find a specific appliance or group of appliances.\n\n6. Leave **Host Type** as **Generic**.\n\n7. Enter **Application Discovery Credentials** to discover and protect the\n database applications on the host. This field is applicable only for\n MariaDB, MaxDB, MySQL, PostgreSQL, SAP ASE, and SAP IQ databases.\n\n8. In the Backup and DR agent settings, complete the following:\n\n - The Backup and DR agent port is normally port 5106. If it is anything else,\n enter the port number here.\n\n - If there are CIFS shares that need to be discovered you must supply a\n username and password that can access those CIFS shares.\n\n - You must supply the secret key generated on the Windows host using the\n instructions\n [Install the Backup and DR agent on a Windows host](/backup-disaster-recovery/docs/configuration/windows-agent)\n or [Regenerate the secret key](/backup-disaster-recovery/docs/configuration/windows-agent#regenerate)\n section. You can add the secret key now or later using the [Add a secret key](#add)\n instructions but before running the application discovery.\n\n9. Click **Add**.\n\n### Add a secret key\n\nIf you want to update the secret key or if you did not add the secret key for\nthe first time, you can add it in the Windows host using the following\ninstructions.\n\n1. Click **Manage** and then select **Hosts**.\n\n2. Right-click the Windows host and choose **Edit**.\n\n3. Scroll to **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\nFind logs and scripts on Windows server hosts\n---------------------------------------------\n\nOn a Microsoft Windows server host, UDSAgent.logs are stored in\n`C:\\Program Files\\Google Cloud Backup and DR\\log`\n\nYou can create scripts to perform pre- and post- actions on applications on your\nWindows hosts. Create a new folder in which to store all scripts:\n`C:\\Program Files\\Google Cloud Backup and DR\\scripts`.\n| **Note:** The Backup and DR agent can be firewalled out if the host joins a domain after the Backup and DR agent has been installed. If this happens, uninstall and then re-install the Backup and DR agent.\n\nDiscover local file system\n--------------------------\n\nUse these instructions to add local file systems, you must do the following:\n\n1. Discover the local file system in either of these ways:\n\n - Go to **Back up \\& Recover** and select **Back up**.\n\n - Go to **App Manager** , click **Applications** , and then select\n **Add application**.\n\n2. Select the **All Apps** tile. If you select the **All Apps** tile you\n also discover Microsoft SQL Server apps.\n After the local file systems are discovered, you can find them using the\n file system filter in the **Applications** page.\n\nService access point IP address for cluster support\n---------------------------------------------------\n\nIf a file system is a cluster resource and if you want it to be backed up\nirrespective of which cluster node is hosting the file system, specify the\nCluster resource IP address as a Service Access Point IP. This allows the\nbackup/recovery appliance to connect to the Backup and DR agent using the\ncluster resource IP and to back up the file system from the active cluster node.\nFor backup to work correctly across all cluster nodes, the Backup and DR agent\nmust be installed on all cluster nodes."]]