Configuration backup file upload fails from one node
Applies to
- ONTAP 9
- System configuration backup upload
- Domain Name Service (DNS)
Issue
- Configuration backup uploads fail from one node with the following error:
::> set advanced
::*> system configuration backup upload -node cluster01-01 -backup cluster01.weekly.2023-09-10.00_15_01.7z -destination ftps://vsftpuser:xxx[]xxxx@bkp-dest
Uploading the configuration
backup file.
Uploading configuration backup file.
Error: command failed: Upload operation of configuration backup file exited with
error: Failed to upload configuration backup file "/mroot/etc/backups/config/cluster01.weekly.2023-09-10.00_15_01.7z" to
"ftps://vsftpuser:xxx[]xxxx@bkp-dest/cluster01.weekly.2023-09-10.00_15_01.7z". Error: Couldn't resolve host name :
Could not resolve host: bkp-dest.
- Other nodes in the cluster work as expected.
- Using the backup host's IP instead of the hostname also works for all nodes.
- The hostname is resolvable sometimes:
::*> vserver services name-service getxxbyyy gethostbyname -vserver cluster1 -hostname bkp-dest -node cluster01-01
Host name: bkp-dest
Canonical name: mycompany.domain
IPv4: 192.168.x.x
- Adding a manual DNS entry into ONTAP stopped the errors:
::*> vserver services name-service dns hosts create -vserver cluster1 -address 192.168.x.x -hostname bkp-dest