Data connection cannot be opened with this PROT setting (521).

Backup Job - 1 backup has failed

Summary (Failed)

Job: Backup Job - 1
Computer: LICENSE
Date: 8/14/2019 2:46:55 PM
Backup type: Full
Backup archive size: 2MB
Database count: 1

dbBetBotPro Full backup: FTP - success 2MB

Next backup: 8/14/2019 11:12:00 PM - Full

Detailed Log:

  • 2:46:55 PM : Starting job "Backup Job - 1 " - “Full”. Computer “LICENSE”. App v.“12.2.9”
  • 2:46:55 PM : Connecting to SQL Server: 2017 RTM Express Edition (64-bit). .\SQLEXPRESS
  • 2:46:56 PM : The backup folder “C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\Backup” has “7.416GB” free space. The temporary folder “C:\Users\Administrator\AppData\Local\Temp\Pranas.NET\SQLBackupAndFTP\backup” has “7.416GB” free space
  • 2:46:56 PM : Backing up “.\SQLEXPRESS” SQL Server databases
  • 2:46:56 PM : Getting maximum file size…
  • 2:46:56 PM : The maximum file size: “”
  • 2:46:56 PM : Backing up “dbBetBotPro” database to .bak file. Backup type: “Full”. Checksum: “Disabled”
  • 2:46:57 PM : “dbBetBotPro” database backup successfully completed. Backup type: “Full”
  • 2:46:57 PM : Database “dbBetBotPro” successfully backed up to “dbBetBotPro201908141446.bak : 19.034MB”
  • 2:46:58 PM : Compressing “dbBetBotPro201908141446.bak” file with Internal archiver. Encryption: “Off”
  • 2:46:59 PM : Backup of “dbBetBotPro” successfully compressed to “(dbBetBotPro201908141446.zip : 2.031MB)”
  • 2:46:59 PM : Connecting to FTP destination “ftp.buzzsoft.ie
  • 2:46:59 PM : The current destination folder is “/”
  • 2:46:59 PM : Sending backup of “dbBetBotPro” to FTP destination “ftp.buzzsoft.ie
  • 2:47:00 PM : Uploading local “dbBetBotPro201908141446.zip” to remote “dbBetBotPro201908141446.zip” in folder “/”
  • 2:47:00 PM : WARNING: Destination error: Data connection cannot be opened with this PROT setting (521).
  • 2:47:00 PM : Trying again…
  • 2:47:00 PM : WARNING: Destination error: Data connection cannot be opened with this PROT setting (521).
  • 2:47:00 PM : Trying again…
  • 2:47:01 PM : WARNING: Destination error: Data connection cannot be opened with this PROT setting (521).
  • 2:47:01 PM : Trying again…
  • 2:47:02 PM : WARNING: Destination error: Data connection cannot be opened with this PROT setting (521).
  • 2:47:02 PM : Trying again…
  • 2:47:03 PM : ERROR: Destination error: Failed to upload “C:\Users\Administrator\AppData\Local\Temp\Pranas.NET\SQLBackupAndFTP\backup\dbBetBotPro201908141446.zip” file to “/” folder. > Data connection cannot be opened with this PROT setting (521).
  • 2:47:03 PM : Disconnecting from FTP destination “ftp.buzzsoft.ie
  • 2:47:03 PM : Cleaning up backups of "Backup Job - 1 " job
  • 2:47:04 PM : ERROR: Job "Backup Job - 1 " finished with “1” errors

Hi Mark,

Thank you for the details.

Please give us some time to check the issue.

Sorry for the inconvenience.

Hi Mark,

For the correct upload backups to FTP, we use Rebex libraries. To resolve this issue we have contacted their support team Data connection cannot be opened with this PROT setting (521) - Rebex Q&A Forum and for further investigation, they request additional information.

Could you please enable the advanced log with “Trace” level, reproduce the issue and send logs to our dev team. Here are more details on how to do it How to send Log to developers | SQLBackupAndFTP's blog

Note! With the “Trace” level, a log can contain your passwords. Before sending a log to dev team please open it using any text editor and remove the information you prefer to keep in secret. You can find them by clicking the “Open folder” link at the “Advanced Log” window (“Tools” > “Advanced Log…”). We plan to send these logs to Rebex’s support team.

Please let us know if the logs will be sent, also please provide us with your application id (“Help” > “About”).

Sorry for the inconvenience.