VMware Cloud Foundation allows you to register an external SFTP server with SDDC Manager for backing up NSX Managers.
Until you register an external SFTP server, the NSX backups are taken on the SFTP server that is built into SDDC Manager. It is recommended that you register an external SFTP server soon after you upgrade or deploy VMware Cloud Foundation. Using an external SFTP server provides better protection against failures because it decouples the NSX backups from the SDDC Manager backups. The built-in SFTP server provides temporary protection against failures and should be used while you are setting up an external SFTP server.
It is important deploy a reliable SFTP server and ensure it is accessible from the VMware Cloud Foundation instance. If the SFTP server is not available when an NSX Manager attempts to back up its state, the backup will not be taken, and any recent changes are not backed up until the retries succeed. To ensure that this situation does not occur, it is recommended that you periodically check that NSX Manager backups are successfully taken, and monitoring that the backups for other products are also being successfully taken. If the SFTP server is not available at the time of deploying a workload domain or upgrading NSX, these operations fail.
When you register an SFTP server with SDDC Manager, it saves the SFTP server details, and then configures all existing NSX Managers to use the SFTP server. Finally, when any subsequent NSX Managers are deployed, SDDC Manager configures them to use this SFTP server as well. When you register the SFTP server, you must also specify a phrase to use to encrypt the NSX Manager backups. Note that this same phrase is also used to encrypt SDDC Manager file-based backups. For more information, see Backing Up and Restoring SDDC Manager. You can use the same UI and API to edit the settings of an already configured SFTP server and encryption phrase.
Prerequisites
- The external SFTP server must support ECDSA SSH public key.
- You must configure a privileged user and password before you can configure an external SFTP server. See Configure Dual Authentication.