Hi I'm trying to get my admin backups working. I have had no trouble with this in all my years of using DA, but currenlty I'm stuck.
Every time i try to set up my backup ftp connection I get this error popup:
| Error during Backup Creation
| /usr/bin/curl returned error code 7
| curl: (7) Failed to connect to XX.XX.XXX.XXX port 21: Connection refused
| FTP information invalid.
I have checked multiple ways that my credentials are not the issue. From the shell of the server I tried logging in via curl command, ftp command and even with the ftp_upload.php script as provided in the docs: https://docs.directadmin.com/directadmin/backup-restore-migration/backup-to-remote.html, all work completely fine with my credentials.
After validating my credentials and connections are not the issue. I tried overriding the ftp_upload.php via a custom fto_upload.php file to use curl dircetly as described in the docs. But no luck their either, i still get the same error.
I'm pretty stuck on this. Does any one have a clue on how to solve this issue? In particular I'm curious if anyone knows where the validation takes place. In what script? Can I access that and add some debug? Or change it, or... ?
Hopeing anyone can help
-Marijn
Some details of my specific server:
| Version 1.670 (7d4ca024f8abfcf542af4f46b0bb402d9efe2d52) Changelog
| Operating System linux
| Linux Distribution rhel8
| Hardware Architecture amd64
| Update Channel current
| Evolution Version cc2920c2977f5c7908824a7ab47f3bf926aef650
Every time i try to set up my backup ftp connection I get this error popup:
| Error during Backup Creation
| /usr/bin/curl returned error code 7
| curl: (7) Failed to connect to XX.XX.XXX.XXX port 21: Connection refused
| FTP information invalid.
I have checked multiple ways that my credentials are not the issue. From the shell of the server I tried logging in via curl command, ftp command and even with the ftp_upload.php script as provided in the docs: https://docs.directadmin.com/directadmin/backup-restore-migration/backup-to-remote.html, all work completely fine with my credentials.
After validating my credentials and connections are not the issue. I tried overriding the ftp_upload.php via a custom fto_upload.php file to use curl dircetly as described in the docs. But no luck their either, i still get the same error.
I'm pretty stuck on this. Does any one have a clue on how to solve this issue? In particular I'm curious if anyone knows where the validation takes place. In what script? Can I access that and add some debug? Or change it, or... ?
Hopeing anyone can help
-Marijn
Some details of my specific server:
| Version 1.670 (7d4ca024f8abfcf542af4f46b0bb402d9efe2d52) Changelog
| Operating System linux
| Linux Distribution rhel8
| Hardware Architecture amd64
| Update Channel current
| Evolution Version cc2920c2977f5c7908824a7ab47f3bf926aef650