• 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

Issue Backup Manager Schedule

NevilleM

New Pleskian
In the Backup Manager > Schedule, we have setup Keep backup files for 5 weeks - before the upgrade to Onyx, these used to be deleted automatically from the FTP storage.

However since the upgrade the backup files in the FTP storage so not get deleted hence after 7/8 the FTP starts failing due to low disk space. Do we have the enable or disable something to have the backup manager delete the old files from the FTP storage?
 
Hi NevilleM,

Do we have the enable or disable something to have the backup manager delete the old files from the FTP storage?
If a standart "disable" and "re-enable" procedure for the scheduled task doesn't already solves your issue, pls. consider to attach the latest backup - log - file, so that people willing to help you have something to start with the investigations.
 
Checked the logs:

Issue
1 - Unable to find last incremental backup, because of current backup has no version mark in the file name
Seems to be documented here - Backup error in Plesk 12.5: The backup was not created

Issue 2
extract from log
Code:
[2017-04-17 04:21:48.094|13500] INFO: Executing utility: /bin/tar --create --file - --directory /usr/local/psa/PMM/tmp/repo_transport_tmp_W43GTk --dereference --blocking-factor 1 --no-recursion --files-from /usr/local/psa/PMM/tmp/repo_transport_tmp_B8OFpL
[2017-04-17 04:21:48.192|13500] INFO: The utility succesfully executed.
[2017-04-17 04:21:48.875|13500] INFO: pmm-ras finished. Exit code: 0
[2017-04-17 04:21:49.283| 3440] INFO: pmm-ras started : /usr/local/psa/admin/sbin/pmm-ras --rotate-dump --dump-rotation=5 --guid=a20df394-3eac-4e6e-8f79-6f9254fcd95f --dump-specification=backup_1704170403.tar --dump-storage=ftp://[email protected]//pleskbackup --session-path=/usr/local/psa/PMM/sessions/2017-04-17-040332.361 --verbose --use-ftp-passive-mode
[2017-04-17 04:21:49.283| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Initializing...
[2017-04-17 04:21:49.284| 3440] INFO: Curl version: 0x72300
[2017-04-17 04:21:49.286| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Initialized
[2017-04-17 04:21:49.293| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Rotate packed backups is started for owner a20df394-3eac-4e6e-8f79-6f9254fcd95f
[2017-04-17 04:21:49.293| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/
[2017-04-17 04:21:49.535| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Get packed backup info from file backup_1704170403.tar
[2017-04-17 04:21:49.535| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/backup_1704170403.tar3
[2017-04-17 04:21:49.739| 3440] INFO: Curl error: (31) FTP: command REST failed: Last FTP request: REST 2086126323: Last FTP response: 502 Command not implemented
[2017-04-17 04:21:49.739| 3440] INFO: Pause before next attempt to download file...
[2017-04-17 04:21:52.740| 3440] INFO: Trying to resume download...
[2017-04-17 04:21:53.174| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/backup_1704170403.tar
[2017-04-17 04:21:53.609| 3440] INFO: File dump-header not found on first position in archive. First entry is "clients/Suzer/domains/xyzdomain.com/databases/xyzdd_1/backup_1704170403.tgz".
[2017-04-17 04:21:53.609| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Get backup info from file backup_1704170403.tar
[2017-04-17 04:21:53.609| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': List packed backups at 
[2017-04-17 04:21:53.610| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Get packed backup info from file backup_1704100403.tar
[2017-04-17 04:21:53.610| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/backup_1704100403.tar3
[2017-04-17 04:21:53.813| 3440] INFO: Curl error: (31) FTP: command REST failed: Last FTP request: REST 1986353395: Last FTP response: 502 Command not implemented
[2017-04-17 04:21:53.813| 3440] INFO: Pause before next attempt to download file...
[2017-04-17 04:21:56.814| 3440] INFO: Trying to resume download...
[2017-04-17 04:21:57.290| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/backup_1704100403.tar
[2017-04-17 04:21:57.713| 3440] INFO: File dump-header not found on first position in archive. First entry is "clients/Suzer/domains/xyzdomain.com/databases/xyzdd_1/backup_1704100403.tgz".
[2017-04-17 04:21:57.713| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Get backup info from file backup_1704100403.tar
[2017-04-17 04:21:57.713| 3440] INFO: Dump type '' does not match object type 'server', skip.
[2017-04-17 04:21:57.713| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Get packed backup info from file backup_1704110403.tar
[2017-04-17 04:21:57.713| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/backup_1704110403.tar3
[2017-04-17 04:21:57.916| 3440] INFO: Curl error: (31) FTP: command REST failed: Last FTP request: REST 1992673011: Last FTP response: 502 Command not implemented
[2017-04-17 04:21:57.916| 3440] INFO: Pause before next attempt to download file...
[2017-04-17 04:22:00.916| 3440] INFO: Trying to resume download...
[2017-04-17 04:22:01.575| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/backup_1704110403.tar
[2017-04-17 04:22:01.997| 3440] INFO: File dump-header not found on first position in archive. First entry is "clients/Suzer/domains/xyzdomain.com/databases/xyzdd_1/backup_1704110403.tgz".
[2017-04-17 04:22:01.997| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Get backup info from file backup_1704110403.tar
[2017-04-17 04:22:01.998| 3440] INFO: Dump type '' does not match object type 'server', skip.
[2017-04-17 04:22:01.998| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Get packed backup info from file backup_1704120403.tar
[2017-04-17 04:22:01.998| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/backup_1704120403.tar3
[2017-04-17 04:22:02.201| 3440] INFO: Curl error: (31) FTP: command REST failed: Last FTP request: REST 1990968563: Last FTP response: 502 Command not implemented
[2017-04-17 04:22:02.201| 3440] INFO: Pause before next attempt to download file...
[2017-04-17 04:22:05.202| 3440] INFO: Trying to resume download...
[2017-04-17 04:22:06.031| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/backup_1704120403.tar
[2017-04-17 04:22:07.508| 3440] INFO: File dump-header not found on first position in archive. First entry is "clients/Suzer/domains/xyzdomain.com/databases/xyzdd_1/backup_1704120403.tgz".
[2017-04-17 04:22:07.509| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Get backup info from file backup_1704120403.tar
[2017-04-17 04:22:07.509| 3440] INFO: Dump type '' does not match object type 'server', skip.
[2017-04-17 04:22:07.509| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Get packed backup info from file backup_1704130403.tar
[2017-04-17 04:22:07.509| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/backup_1704130403.tar3
[2017-04-17 04:22:07.711| 3440] INFO: Curl error: (31) FTP: command REST failed: Last FTP request: REST 2030080755: Last FTP response: 502 Command not implemented
[2017-04-17 04:22:07.711| 3440] INFO: Pause before next attempt to download file...
[2017-04-17 04:22:10.712| 3440] INFO: Trying to resume download...
[2017-04-17 04:22:11.437| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/backup_1704130403.tar
[2017-04-17 04:22:11.861| 3440] INFO: File dump-header not found on first position in archive. First entry is "clients/Suzer/domains/xyzdomain.com/databases/xyzdd_1/backup_1704130403.tgz".
[2017-04-17 04:22:11.862| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Get backup info from file backup_1704130403.tar
[2017-04-17 04:22:11.862| 3440] INFO: Dump type '' does not match object type 'server', skip.
[2017-04-17 04:22:11.862| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Get packed backup info from file backup_1704160403.tar
[2017-04-17 04:22:11.862| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/backup_1704160403.tar3
[2017-04-17 04:22:12.064| 3440] INFO: Curl error: (31) FTP: command REST failed: Last FTP request: REST 2059524851: Last FTP response: 502 Command not implemented
[2017-04-17 04:22:12.064| 3440] INFO: Pause before next attempt to download file...
[2017-04-17 04:22:15.066| 3440] INFO: Trying to resume download...
[2017-04-17 04:22:15.712| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/backup_1704160403.tar
[2017-04-17 04:22:16.802| 3440] INFO: File dump-header not found on first position in archive. First entry is "clients/Suzer/domains/xyzdomain.com/databases/xyzdd_1/backup_1704160403.tgz".
[2017-04-17 04:22:16.802| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Get backup info from file backup_1704160403.tar
[2017-04-17 04:22:16.802| 3440] INFO: Dump type '' does not match object type 'server', skip.
[2017-04-17 04:22:16.802| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Get packed backup info from file backup_1704170403.tar
[2017-04-17 04:22:16.802| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/backup_1704170403.tar3
[2017-04-17 04:22:17.005| 3440] INFO: Curl error: (31) FTP: command REST failed: Last FTP request: REST 2086126323: Last FTP response: 502 Command not implemented
[2017-04-17 04:22:17.005| 3440] INFO: Pause before next attempt to download file...
[2017-04-17 04:22:20.006| 3440] INFO: Trying to resume download...
[2017-04-17 04:22:20.429| 3440] INFO: Ftp init url ftp://111.111.11.11//pleskbackup/backup_1704170403.tar
[2017-04-17 04:22:20.856| 3440] INFO: File dump-header not found on first position in archive. First entry is "clients/Suzer/domains/xyzdomain.com/databases/xyzdd_1/backup_1704170403.tgz".
[2017-04-17 04:22:20.857| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Get backup info from file backup_1704170403.tar
[2017-04-17 04:22:20.857| 3440] INFO: Dump type '' does not match object type 'server', skip.
[2017-04-17 04:22:20.857| 3440] INFO: Repository 'ftp://111.111.11.11//pleskbackup': Rotate structured backups is finished for owner a20df394-3eac-4e6e-8f79-6f9254fcd95f
[2017-04-17 04:22:20.858| 3440] INFO: pmm-ras finished. Exit code: 0
 
Hi NevilleM,

pls. post your output of the command ( logged in as user "root" over SSH ):
Code:
plesk version
 
Code:
Product version: Plesk Onyx 17.0.17 Update #22
    Update date: 2017/04/14 12:55
     Build date: 2017/03/22 17:00
     OS version: CentOS 6.4
       Revision: ab6766191d3ba26e7b21255ab007fc7fc56d84c6
   Architecture: 64-bit
Wrapper version: 1.2
 
Hi NevilleM,

hm... actually, your error
Code:
Curl error: (31) FTP: command REST failed: Last FTP request: REST 1986353395: Last FTP response: 502 Command not implemented
... points to a known previous bug, which should have been solved with "Plesk Onyx 17.0.17 Update 21" (PPPM-5919) .
Pls. consider to us the command:
Code:
plesk installer --select-product-id plesk --select-release-current --reinstall-patch --install-component base
... to reinstall all previous patches and updates and create another manual FULL backup afterwards, to see, if this already solved your issue.
 
I just ran the suggested command without problem. Will wait for tonight's scheduled update and will report what happens
 
Hi NevilleM,

again, I assume that creating a FULL backup manually should solve the issue, as you have to have at least one FULL backup without issues/errors/problems. The error messages:
Code:
File dump-header not found on first position in archive
... point to missing parts, which you should be existent, because incremental backups only backup changes to the latest backup. ;)

Pls. consider to read as well: => Incremental Backup


After ( successfully ) creating ONE FULL backup, consider as well to move all other backups into a separate folder ( i.e. /backup.backup ) and when the next automatic scheduled backup has been finished without issues, you are save to delete the "/backup.backup" folder. :)
 
Hi UFHH01

- The moved old backups files to another folder.
- create a Full backup on ftp
- log file increased in size from 1.5 Meg to 113 Megs
- a lot of strange errors as per below
- it was copied into ftp without problems

Code:
[2017-04-17 19:02:33.286|26537] INFO: Try to find /clients/vztuser/ in child path /clients/333/domains/ggg.com/backup_info_1704171845.xml
[2017-04-17 19:02:33.286|26537] INFO: Try to find /clients/fff/ in child path /clients/333/backup_info_1704171845.xml
[2017-04-17 19:02:33.286|26537] INFO: Try to find /clients/fff/ in child path /clients/555/domains/hhh.com/backup_info_1704171845.xml
[2017-04-17 19:02:33.286|26537] INFO: Try to find /clients/fff/ in child path /clients/555/backup_info_1704171845.xml
[2017-04-17 19:02:33.286|26537] INFO: Try to find /clients/fff/ in child path /clients/666/domains/iii.com/backup_info_1704171845.xml
[2017-04-17 19:02:33.286|26537] INFO: Try to find /clients/fff/ in child path /clients/666/backup_info_1704171845.xml
[2017-04-17 19:02:33.286|26537] INFO: Try to find /clients/fff/ in child path /clients/fff/domains/jjj.com/backup_info_1704171845.xml
[2017-04-17 19:02:33.286|26537] INFO: Try to find /clients/fff/ in child path /clients/fff/domains/lll.com/backup_info_1704171845.xml
[2017-04-17 19:02:33.286|26537] INFO: Try to find /clients/fff/ in child path /clients/fff/backup_info_1704171845.xml
[2017-04-17 19:02:33.286|26537] INFO: Child XML found: /clients/fff/backup_info_1704171845.xml
[2017-04-17 19:02:33.286|26537] INFO: Repository '/var/lib/psa/dumps/': Get info from /clients/fff/backup_info_1704171845.xml
[2017-04-17 19:02:33.286|26537] INFO: Transport: Get file /clients/fff/backup_info_1704171845.xml
[2017-04-17 19:02:33.289|26537] INFO: Repository '/var/lib/psa/dumps/': Get items for discovered 'backup_info_1704171845' at path
[2017-04-17 19:02:33.304|26537] INFO: Repository '/var/lib/psa/dumps/': Get files for discovered 'backup_info_1704171845' at path
[2017-04-17 19:02:33.304|26537] INFO: Transport: List dir .discovered/backup_info_1704171845
[2017-04-17 19:02:33.305|26537] INFO: Repository '/var/lib/psa/dumps/': Get info from .discovered/backup_info_1704171845/props
[2017-04-17 19:02:33.305|26537] INFO: Transport: Get file .discovered/backup_info_1704171845/props
[2017-04-17 19:02:33.305|26537] INFO: Transport: Get file .discovered/backup_info_1704171845/cid_apache-files
[2017-04-17 19:02:33.305|26537] INFO: TransportError[5d06d2e3-94b0-4a91-8af0-e883e221ba8d]: Transport error: File '.discovered/backup_info_1704171845/cid_apache-files' not found [./transport.cpp:272]
virtual plesk::irepostream* plesk::tRepositoryLocal::GetFile(const std::string&)
[2017-04-17 19:02:33.305|26537] INFO: Transport: Get file .discovered/backup_info_1704171845/cid_user-data
[2017-04-17 19:02:33.306|26537] INFO: TransportError[7da73891-b266-430f-84be-597dc5ff7a9f]: Transport error: File '.discovered/backup_info_1704171845/cid_user-data' not found [./transport.cpp:272]
virtual plesk::irepostream* plesk::tRepositoryLocal::GetFile(const std::string&)
[2017-04-17 19:02:33.306|26537] INFO: Transport: Get f

ftp part:
Code:
[2017-04-17 19:02:34.773|26537] INFO: Executing utility: /bin/tar --create --file - --directory /usr/local/psa/PMM/tmp/repo_transport_tmp_2IIQV1 --dereference --blocking-factor 1 --no-recursion --files-from /usr/local/psa/PMM/tmp/repo_transport_tmp_ohsAaQ
[2017-04-17 19:02:34.911|26537] INFO: The utility succesfully executed.
[2017-04-17 19:02:34.911|26537] INFO: The return code was 
No output on STDOUT were performed by the utility
No output on STDERR were performed by the utility
[2017-04-17 19:02:35.423|26537] INFO: Curl output: * Remembering we are in dir "/pleskbackup/"
[2017-04-17 19:02:35.788|26537] INFO: Curl output: < 226 File store complete. Data connection has been closed.
[2017-04-17 19:02:35.788|26537] INFO: Curl output: * Connection #1 to host 188.121.38.5 left intact
[2017-04-17 19:02:35.818|26537] INFO: pmm-ras finished. Exit code: 0
 
Hello UFHH01

This morning I still got the following errors in the log:

Curl error: (31) FTP: command REST failed: Last FTP request: REST 2105273075: Last FTP response: 502 Command not implemented error


INFO: Dump type '' does not match object type 'server', skip.
INFO: File dump-header not found on first position in archive. First entry is "clients/...
 
Back
Top