Add SFTP option for remote backups

(We sell DirectAdmin licenses for a great price! Purchase a server with us and grab a license, use promo code PACKETS to get 15% off your first invoice!)

If you want to use SFTP instead of FTP to send backups to a remote location from DirectAdmin, you can use a script created by our friends at Poralix.

Run this over SSH/console:

yum install sshpass -y
cd /usr/local/directadmin/scripts/custom/
git clone https://github.com/poralix/directadmin-sftp-backups.git
cp -f directadmin-sftp-backups/ftp_download.php ./
cp -f directadmin-sftp-backups/ftp_list.php ./
cp -f directadmin-sftp-backups/ftp_upload.php ./
chmod 700 ftp_*.php
chown diradmin:diradmin ftp_*.php

Now when you switch the remote backup port to "22" the system will use SFTP instead of FTP.

  • 84 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

Add Rainloop to your DirectAdmin Server

(We sell DirectAdmin licenses for a great price! Purchase a server with us and grab a license,...

Emails taking a long time to send from DirectAdmin server

(We sell DirectAdmin licenses for a great price! Purchase a server with us and grab a license,...

Error: Host impersonating domain name

(We sell DirectAdmin licenses for a great price! Purchase a server with us and grab a license,...

How To Install DirectAdmin

(We sell DirectAdmin licenses for a great price! Purchase a server with us and grab a license,...

Webmail Subdomain for DirectAdmin Users

(We sell DirectAdmin licenses for a great price! Purchase a server with us and grab a license,...