• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue pleskbackup does not transfer the backup via sftp

CobraArbok

Regular Pleskian
OS: Debian 10.6
Product: Plesk Obsidian Version 18.0.31 Update #1, last updated on Nov 14, 2020 05:24 PM

I am trying to use the pleskbackup command to do a server backup on my sftp server.
I am testing it from the terminal before putting it in cron.
The backup works; I see it in the Backup Manager and in /var/lib/psa/dumps folder i see the files, but nothing is transferred via sftp.
Even using the -v options there are no error reports and I don't even find a nice log in /opt/psa/PPM/sessions
I tried to test the sftp link and it works.

Code:
root@vls1:~# sftp [email protected]
[email protected]'s password:
Connected to [email protected]
sftp> exit

This is the latest version of the command I used. Obviously previously in Linux I created the environment variable FTP_PASSWORD.

Code:
plesk bin pleskbackup server --prefix='VLS1-Server-Full' -d='VLS1 Server Full from command' -s -v --ftp-passive-mode --output-file=sftp://<my-isp> --ftp-login=<username> --ftp-password=$FTP_PASSWORD

Where am I doing wrong?
 
Last edited:
You must have the SFTP backup extension installed and configured. Only in this case can you use SFTP to create remote backups.
 
You must have the SFTP backup extension installed and configured. Only in this case can you use SFTP to create remote backups.

Sure. Already installed, configured and successfully used in the past days for backups scheduled by the Backup Manager.
 
Back
Top