Backups seem to fail when using your SFTP addon. Here are examples from two different servers:
Any feedback as to what might cause this would be appreciated.
Any feedback as to what might cause this would be appreciated.
IF you read the the other posts,Backups seem to fail when using your SFTP addon. Here are examples from two different servers:
Any feedback as to what might cause this would be appreciated.
[ list ] sftp return code: 255
ssh: connect to host ********* port 3726: Connection refused
Yep checked it just now:
+SSH_PORTS="22 2200 22022 53400";
/usr/local/directadmin/scripts/custom/ftp_download.php
/usr/local/directadmin/scripts/custom/ftp_list.php
/usr/local/directadmin/scripts/custom/ftp_upload.php
[list] sftp return code: 255
Could not create directory '/.ssh'.
Warning: Permanently added '[XX.XX.XX.XXX]:53400' (ECDSA) to the list of known hosts.
Connection closed
FTP information invalid.
set -x
#!/bin/sh
Feb 14 21:25:06 host1 lfd[24253]: *SSH login* from XX.XXX.XX.XXX into the root account using password authentication - ignored
Found outdated scripts under /usr/local/directadmin/scripts/custom/.
Yes, you've updated scripts under /usr/local/directadmin/scripts/custom/directadmin-sftp-backups/ but they also need to be copied to /usr/local/directadmin/scripts/custom/
I've upgraded the scripts on your server, and it seems to have solved the issue.
Please confirm.
also the DA admin backups works now with port 53400.
@zEitEr can you update the script for the new backup extension .zst ?
FROM
cat ${DUMP} | grep -v '^sftp> ' | grep -E '(.*)\.tar(|\.gz)(|\.enc)$';
TO
cat ${DUMP} | grep -v '^sftp> ' | grep -E '(.*)\.tar(|\.zst)(|\.enc)$';