SFTP error on backup
ChanceSD opened this issue ยท 7 comments
So the first backup i made worked fine. It uploaded the files correctly but now i get this error every time.
Any ideas?
No idea, look in your sftp server log, if it has one.
Server thrown generic error on directory create.
In sftp log i got this
sftp-server[691]: mkdir name "/asw/" mode 0777
sftp-server[691]: sent status Failure
So maybe the error is because the directory already exists?
Do you have any suggestion? I was just using default from centos, installed vsftp but same result.
No idea, i used windows sftp server software when testing.
Will try to workaround that somehow.
If you could just check if the main directory exists before executing the mkdir it would probably work, i didn't look at the code so just guessing. In my case they are the default i believe /asw and /asw/backups
Because the first backup always works perfectly when those directories don't exist yet.