Plesk

How to configure FTP backup in Plesk

Question

How to configure a remote FTP server for Plesk backups?

Answer

For Plesk server-wide backup:

Plesk User Interface:

  1. Log into Plesk.

  2. Go to Tools & Settings > Backup Manager > Remote Storage Settings > FTP.

  3. 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.

  4. Specify other options if required.

Command Line Interface:

  1. Connect to the server via SSH.

  2. 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:password@ftp.example.com/FtpFolder/

    For more details refer to CLI documentation pleskbackup: Backing Up Content and Configuration

For individual subscription backup:

Plesk User Interface:

  1. Log into Plesk.

  2. Go to Subscriptions > example.com > Backup Manager > Remote Storage Settings > FTP.

  3. 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.

  4. Specify other options if required.

Command Line Interface:

  1. Connect to the server via SSH.

  2. 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:password@ftp.example.com/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

Exit mobile version