• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

FTP backup listing corrupt

Patrick Mulvany

New Pleskian
I have three servers running Plesk 9.x on CentOS

I have previously been backing up to a hosted FTP service but have started FTPing backups to one of the other servers running Plesk.

The backup runs fine and the backups do not appear to be corrupted in any way however restoring via the GUI I have issues.

I have transferred all the old backup files to the new server. Both these and the new backups can be restored by running firefox on the FTP server pointing at the backup manager URL on DR server.

However both the main server and the DR server see a corrupted view of FTP repository's directory listing.

Attempting to restore them via the GUI from the FTP repository I first see extra info in front of the file name and the file size is wrong

And then when I try and restore the file it does not work as it tries to use the wrong (longer) name.

Looking in the log /usr/local/psa/PMM/logs/pmmcli.log.2010-09-15-235749

Everything looks ok except that the name and filename look the same as on the screen :-

<dump description="" owner-guid="" name="login-user psacln 441395200 Sep 16 01:48 drtest_1006162029.tar
" creation-date="1006162029" fullname="login-user psacln 441395200 Sep 16 01:48 drtest_1006162029.tar" size="1">
<dump-status dump-status="OK">
</dump-status>
</dump>

This looks exactly like the long display for listing in FTP

[user@mobile1 Earth]$ ftp vault.somewhere.co.uk
Connected to vault.somewhere.co.uk (217.160.4.147).
220 ProFTPD 1.3.1 Server (ProFTPD) [217.160.4.147]
Name (vault.somewhere.co.uk:user): login-user
331 Password required for login-user
Password:
230 User login-user logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd private/scheduled/
250 CWD command successful
ftp> ls
227 Entering Passive Mode (217,160,4,147,228,178).
150 Opening ASCII mode data connection for file list
-rw-r--r-- 1 login-user psacln 462049280 Sep 16 02:55 DRTest_1009152227.tar
-rw-r--r-- 1 login-user psacln 341186560 Jun 30 20:13 Everything_1005192135.tar
-rw-r--r-- 1 login-user psacln 327464960 Jun 30 20:21 Full__0911010004.tar
-rw-r--r-- 1 login-user psacln 327546880 Jun 30 20:26 Full__0911080004.tar
...
-rw-r--r-- 1 login-user psacln 462131200 Sep 21 03:35 Full__1009202304.tar
-rw-r--r-- 1 login-user psacln 462161920 Sep 22 03:36 Full__1009212304.tar
-rw-r--r-- 1 login-user psacln 462182400 Sep 23 03:37 Full__1009222304.tar
-rw-r--r-- 1 login-user psacln 441395200 Sep 16 01:48 drtest_1006162029.tar
226-Transfer complete
226 Quotas off
ftp>

I noticed on the original hosting platform the permissions were set to 0600 not 0644 but changing that setting did not fix the issue.

I have been trying to work out what is wrong but with no success.

Have I got some missing switch or setting that I need to use so the PROFTP server does not return the extra information or is something else wrong?

Thanks
 
Last edited:
Back
Top