Ajouter un Filestore ou tout autre système de fichiers ou partage de fichiers NFS
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Le service Backup and DR peut découvrir et sauvegarder des partages NFS sur un hôte Linux.
Avant de pouvoir exécuter la découverte d'applications pour ajouter les partages NFS à la sauvegarde et à la DR, vous devez disposer d'un agent de sauvegarde et de DR installé sur l'hôte NFS.
Installer l'agent Backup and DR et générer une clé secrète
Suivez les instructions ci-dessous pour ajouter un hôte Linux à la console de gestion:
Dans la console de gestion, accédez à Gérer>Hôtes.
Sélectionnez + Ajouter un hôte.
Dans le formulaire Ajouter un hôte, saisissez le nom et un nom convivial facultatif. Le nom d'un hôte doit commencer par une lettre et peut contenir des lettres et des chiffres (0 à 9). Les caractères de soulignement (_) ne sont pas valides dans les noms d'hôte.
Saisissez l'adresse IP de l'hôte dans Adresse IP. Cliquez sur le signe plus (+) pour l'ajouter.
Dans la section Appliances (Appareils), sélectionnez les appareils gérés par la console de gestion qui servent cet hôte. Si la liste est longue, vous pouvez utiliser le champ de recherche pour trouver un appareil ou un groupe d'appareils spécifiques.
Laissez Host Type (Type d'hôte) sur Generic (Générique).
Dans les paramètres de l'agent Backup and DR, procédez comme suit:
Le port de l'agent de sauvegarde et de reprise après sinistre est généralement le port 5106. Si ce n'est pas le cas, saisissez le numéro de port.
Vous devez fournir une clé secrète générée sur les serveurs hôtes Linux par l'agent de sauvegarde et de reprise après sinistre pour initialiser les communications fiables entre l'hôte et l'agent de sauvegarde et de reprise après sinistre. Vous n'aurez à le faire qu'une seule fois. Si vous ne disposez pas de la clé secrète, générez-en une en installant l'agent de sauvegarde et de DR sur un hôte Linux.
Suivez les instructions ci-dessous pour ajouter des partages NFS:
Découvrez la découverte d'applications NFS de deux manières:
Dans la console de gestion, cliquez sur le menu déroulant Sauvegarder et restaurer, puis sélectionnez Sauvegarder, puis Toutes les applications.
Accédez à Gestionnaire d'applications>Applications, sélectionnez Ajouter des applications, puis Toutes les applications.
Sélectionnez l'hôte que vous avez ajouté dans la section Ajouter un hôte NFS, puis cliquez sur Découvrir. Une fois les partages NFS détectés, vous pouvez les rechercher à l'aide du filtre NFS sur la page Applications.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eBackup and DR Service can discover and back up NFS shares on a Linux host, requiring the Backup and DR Agent to be installed on the host prior to application discovery.\u003c/p\u003e\n"],["\u003cp\u003eAdding an NFS host involves navigating to "Manage" > "Hosts" in the management console, selecting "+ Add Host", and providing the host's details such as name, IP address, and the managed appliances.\u003c/p\u003e\n"],["\u003cp\u003eA secret key, generated by the Backup and DR agent on the Linux host, is required to establish trusted communication between the host and the Backup and DR agent.\u003c/p\u003e\n"],["\u003cp\u003eNFS shares are discovered by selecting the added host and initiating the discovery process, and once discovered, they can be found using the "NFS" filter on the Applications page.\u003c/p\u003e\n"],["\u003cp\u003eBackup plans, settings, mounting options, and restore procedures can be configured or performed for NFS applications, as defined in the next steps section of the content.\u003c/p\u003e\n"]]],[],null,["# Add a Filestore or any other NFS file system or file share\n\nBackup and DR Service can discover and backup NFS shares on a Linux host.\nBefore you can run application discovery to add the NFS shares to\nBackup and DR, you must have a [Backup and DR Agent installed on the NFS host](#agent)\n\nInstall Backup and DR agent and generate secret key\n---------------------------------------------------\n\nYou need to have the secret key to provide access to the NFS host. If you\nhaven't already, [install the Backup and DR Agent using the agent install](/backup-disaster-recovery/docs/configuration/linux-agent).\n\nAdd NFS host\n------------\n\n| **Note:** If you've already added the Linux server to Backup and DR Service as a Compute Engine instance or as a VMware VM, then a host for this VM already exists and you don't need to add it again using the following procedure. Instead, find and edit that host and proceed from [step seven](#step7).\n\nUse the following instructions to add a new Linux host to the management console:\n\n1. In the management console, go to **Manage** \\\u003e **Hosts**.\n\n2. Select **+ Add Host**.\n\n3. In the **Add Host** form, enter the name and an optional friendly name. The\n name of a host must start with a letter, and can contain letters and\n 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\n **plus sign (+)** 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. In the Backup and DR agent settings, complete the following:\n\n - Backup and DR agent port is normally port 5106. If it is anything\n else, enter the port number.\n\n - You need to supply a secret key generated on the Linux host servers\n by the Backup and DR agent to initialize trusted communications\n between the host and Backup and DR agent. This only needs to be\n done once. If you don't have the secret key, generate one by\n [Install the Backup and DR agent on a Linux host](/backup-disaster-recovery/docs/configuration/linux-agent).\n\n8. Click **Add** . If you get a partial success message, use the instructions to\n [Validate backup/recovery appliance to Backup and DR agent connectivity](/backup-disaster-recovery/docs/concepts/appliance-network-settings#validate).\n\nDiscover NFS shares\n-------------------\n\nUse the following instructions to add NFS shares:\n\n1. Discover the NFS application discovery in either ways:\n\n - In the management console, click the **Back up \\& Recover** drop-down menu and select **Back up** , and then select **All Apps**.\n\n - Go to **App Manager** \\\u003e **Applications** , select\n **Add Applications** and then select **All Apps**.\n\n2. Select the host that you added in **Add NFS host** section and click\n **Discover** . After the NFS shares are discovered, you can find them\n using the **NFS** filter in the **Applications** page.\n\nWhat's next\n-----------\n\n- To apply a backup plan for NFS applications, see\n [Apply backup template to manage mapped NFS file system](/backup-disaster-recovery/docs/create-plan/apply-backup-plan-to-filesystem)\n\n- To define NFS specific backup settings, see\n [Configure application settings to protect mapped NFS file system data](/backup-disaster-recovery/docs/backup/configure-app-settings-for-filesystems)\n\n- To mount a NFS backup, see\n [Mount a SMB share, file system, or NFS backup](/backup-disaster-recovery/docs/access-data/mount-file-system)\n\n- To restore NFS backups, see\n [File system restore](/backup-disaster-recovery/docs/access-data/filesystem-restore)"]]