• 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

Resolved FTP Backup reupload on failed backup

Grzegorz Doleczek

New Pleskian
Hi,
I have strange problem with Plesk, when I do server back my server often alerts me about failed backup upload.

Local backup is made correctly, and I can recover from it, but when I check my FTP server for files I see files that are 0 bytes, like something failed during compresion. I have access to this folder through NFS and I get such picture.:

Code:
# ls -Flai /backups/
16154 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:01 backup_1712161528.tar
16155 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:02 backup_1712161528.tar1
16164 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:23 backup_1712161528.tar10
16165 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:25 backup_1712161528.tar11
16166 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:28 backup_1712161528.tar12
16167 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:30 backup_1712161528.tar13
16168 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:32 backup_1712161528.tar14
16169 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:34 backup_1712161528.tar15
16170 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:37 backup_1712161528.tar16
16171 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:39 backup_1712161528.tar17
16172 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:41 backup_1712161528.tar18
16173 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:43 backup_1712161528.tar19
16156 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:04 backup_1712161528.tar2
16174 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:45 backup_1712161528.tar20
16175 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:48 backup_1712161528.tar21
16176 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:50 backup_1712161528.tar22
16177 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:52 backup_1712161528.tar23
16178 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:55 backup_1712161528.tar24
16179 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:57 backup_1712161528.tar25
16180 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:59 backup_1712161528.tar26
16181 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 10:01 backup_1712161528.tar27
16182 -rw-r--r-- 1 libuuid users          0 Dec 17 10:01 backup_1712161528.tar28
16157 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:06 backup_1712161528.tar3
16158 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:09 backup_1712161528.tar4
16159 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:12 backup_1712161528.tar5
16160 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:14 backup_1712161528.tar6
16161 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:16 backup_1712161528.tar7
16162 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:19 backup_1712161528.tar8
16163 -rw-r--r-- 1 libuuid users 2146435072 Dec 17 09:21 backup_1712161528.tar9

Don't bother about group and user couse I access it through FTP, so no problem there.
Problem is I want to have zipped backup on my FTP that can be used in case of any server malfunction. How can I manually run upload to FTP? Is there any command that will help me couse UI does not have such capability.

I use updated Ubuntu 14.04.5 with Plesk 12.5.30 #75

Regards.
 
You cannot manually upload backups to your FTP account. The backup file structure on your local system is completely different from the .tar files on the external archive.

My suggestion is to analyze why the upload to your FTP storage space is failing. Is it due to an unstable network? An overloaded FTP server? DNS issues during the backup procedure? Outages of the backup space?
 
I know that it is different, but may be there is command that will take XML backup report, and just tar it and send it to server.

Found out that there is pmm-ras command that is used to generate backup and to work with it. But I still don't know if I can use it to re-tar backup and send it to remote server.

As to FTP server:
- this is FTP backup from OVH for dedicated server
- reported information from plesk are minimal regarding what happend
- for shure there is free space on my account
- there should not be any issues with DNS, but I will check with IP as host name
- In the same time that I have FTP backup I can access server through NFS and there is no problem so network should be OK

As I mentioned I'm searching for option to only do part where I tar already created backup and send it to server, that is my primary goal.
 
This feature has been requested in forum posts several times, and as a matter of fact, my business would like to have that, too. It is vitally important to have the backup on an external system. A local backup does not do any good, so if the upload fails, it should be possible to upload the local backup to the FTP storage easily, e.g. by repeating the tar and upload process that is normally done by Plesk on remote backups.

Unfortunately, this extremely important feature is missing. Instead, all the gimmicks like Docker, Git etc. were introduced. No use for everyday business.

You can either vote on one of these suggested "User Voice" entries or create your own feature request on the User Voice platform for the urgently needed upload feature:
resume ftp backup upload on fail
re-upload incremental backup if FTP upload fails
backup local and remote at once
Maybe it helps that Plesk will consider to implement it.
 
You can always use Linux rsync to create your own backup. It is possible, too, to export the database "manually" on the console.
 
Back
Top