Question
How to configure a remote FTP server for Plesk backups?
Answer
For Plesk server-wide backup:
Plesk User Interface:
-
Go to Tools & Settings > Backup Manager > Remote Storage Settings > FTP.
-
Specify remote FTP server IP address (or external IP, if both servers are on the same subnet behind NAT), access credentials and FTP user folder.
Note: FTP on an internal subnet can be used for Windows FTP only. It will not work for ProFTPd configured to work in passive mode.
Note: The folder has to be created in advance on the remote FTP server or an existing folder has to be specified. Relative path within FTP user home directory should be specified as backup folder.
-
Specify other options if required.
Command Line Interface:
-
Connect to the server via SSH.
-
Use
pleskbackup
tool to create backup to a remote FTP server, for example:Note: CLI commands only create backups. There is no option to configure FTP storage via CLI commands.
# /usr/local/psa/bin/pleskbackup server --output-file=ftp://ftpuser:[email protected]/FtpFolder/
For more details refer to CLI documentation pleskbackup: Backing Up Content and Configuration
For individual subscription backup:
Plesk User Interface:
-
Go to Subscriptions > example.com > Backup Manager > Remote Storage Settings > FTP.
-
Specify remote FTP server IP address (or external IP, if both servers are on the same subnet behind NAT), access credentials and FTP user folder.
Note: FTP on an internal subnet can be used for Windows FTP only. It will not work for ProFTPd configured to work in passive mode.
Note: The folder has to be created in advance on the remote FTP server or an existing folder has to be specified. Relative path within FTP user home directory should be specified as backup folder.
-
Specify other options if required.
Command Line Interface:
-
Connect to the server via SSH.
-
Use
pleskbackup
tool to create backup to a remote FTP server, for example:Note: CLI commands only create backups. There is no option to configure FTP storage via CLI commands.
# pleskbackup --domains-name example.com --output-file=ftp://ftpuser:[email protected]/FtpFolder/
For more details refer to CLI documentation pleskbackup: Backing Up Content and Configuration
Additional information
Backing Up Data
pleskbackup: Backing Up Content and Configuration