system configuration backup FTPS uploads fail with "Access denied: 530"
Applies to
- ONTAP 9
- ONTAP system configuration backup
- FTPS (ftp over TLS)
Issue
- ONTAP cluster configuration backup upload is configured to an external ftps server:
::> set adv
Warning: These advanced commands are potentially dangerous; use them only when directed to do so by NetApp personnel.
Do you want to continue? {y|n}: y
::*> system configuration backup settings show -instance
Backup Destination URL: ftps://10.0.0.1/upload
Username for Destination: ftpuser
Validate Digital Certificate: false
Schedule 1: 8hour
Number of Backups to Keep for Schedule 1: 2
Schedule 2: daily
Number of Backups to Keep for Schedule 2: 2
Schedule 3: weekly
Number of Backups to Keep for Schedule 3: 2
- A password was set for the configured URL and associated user, in example
ftpuser
:
::> system configuration backup settings set-password
Enter the password:
Confirm the password:
- Manual configuration upload to the same URL fails with access denied error 550:
::*> system configuration backup show
Node Backup Name Time Size
--------- ----------------------------------------- ------------------ -----
node01 test.7z 10/02 13:37:00 42.42MB
::*> system configuration backup upload -node node01 -destination ftps://10.0.0.1/upload -backup test.7z
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/test.7z" to "ftps://10.0.0.1/upload/test.7z". Error: Login denied : Access denied: 530.
- The ftp server log states anonymous login:
2023-10-02 10:05:37,187 ralfk-debian proftpd[26010] debian.local (10.0.0.1[10.0.0.1]): USER anonymous (Login failed): Incorrect password
- Manual uploads, using
system configuration backup upload
must provide username and password explicitly in the destination URL, otherwise anonymous login is attempted:
::*> system configuration backup upload -node cluster1-01 -destination ftps://10.10.10.10/upload -backup test.7z
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/test.7z" to "ftps://10.10.10.10/upload/test.7z". Error: Login denied : Access denied: 530.