系统配置备份FTPS上传失败、并显示"Access Denied:530 (访问被拒绝:530)"
适用场景
- ONTAP 9
- ONTAP系统配置备份
- FTPS (基于TLS的FTP)
问题描述
- 已将ONTAP集群配置备份上传配置到外部FTPS服务器:
::>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
- 已为配置的URL和关联用户设置密码,例如
ftpuser
:
::>system configuration backup settings set-password
Enter the password:
Confirm the password:
- 手动将配置上传到同一URL失败、并显示"access denied "错误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.
- FTP服务器日志显示匿名登录:
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
- 使用手动上传时、
system configuration backup upload
必须在目标URL中明确提供用户名和密码、否则尝试匿名登录:
::*> 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.