Backup to FTP repository is created in server repository

Created:

2016-11-16 12:43:31 UTC

Modified:

2017-08-16 18:28:56 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Backup to FTP repository is created in server repository

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.x for Linux
  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux

Symptoms

After the backup was created on FTP repository the dump files exist in both FTP and server repository.

The following error can appear in backup log ( /var/log/plesk/PMM/backup-YYYY-mm-dd-HH-MM-SS-nnn/backup.log ) on Plesk server:

    <message id="419e0294-9da7-41d9-8b5d-dcdba9fcab2b" severity="error" code="ExportFailed">
<description>The dump have been made successfully but can not be imported to FTP due to errors.
The dump 'now_info_1307280331.xml' have been leaved at repository '/opt/psa/PMM/tmp/backupWfVCd6'. Please export it manually</description>
</message>

Cause

Here is scheme of creating backup to FTP repository:

  1. Create backup to server repository

  2. Upload the backup to FTP repository

  3. Remove the backup from server repository

The backup remains in server repository, because process of backups uploading fails.It can be caused by connectivity issue between Parallels Plesk and FTP server, or by FTP server misconfiguration.

Resolution

  1. Go through the following checklist:

  2. Make sure that FTP repository server is up and running during the creation of the backup.

  3. Check that firewall allows connections to TCP port 21 ( iptables -L -n ).
  4. Make sure that file /etc/hosts.deny (TCPD wrappers) does not block access to TCP port 21 for your FTP host.
  5. Connect from Plesk server to FTP server with FTP user credentials and try to upload backup manually:

        # ftp user@ftp.example.com
    ftp> lpwd
    ftp> cd pub
    ftp> put backup.tgz
    ftp> bye
  6. When stuck on a particular step of the checklist above, check log of remote FTP server and fix the issue.

Have more questions? Submit a request
Please sign in to leave a comment.