• 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 is aborting by tar on Debian 9

heugabel

New Pleskian
Hi,

My Plesk 17.8 is aborting Backups with following Error:

Code:
Warning: server "server"
Not all the data was backed up into /var/lib/psa/dumps successfully. Total space: 1982.00 GB; Available space: 1494.00 GB; Mounted on: /. /bin/tar: Cowardly refusing to create an empty archive Try '/bin/tar --help' or '/bin/tar --usage' for more information.
Warning: server "server"
Not all the data was backed up into /var/lib/psa/dumps successfully. Total space: 1982.00 GB; Available space: 1494.00 GB; Mounted on: /. /bin/tar: Cowardly refusing to create an empty archive Try '/bin/tar --help' or '/bin/tar --usage' for more information.
 
Code:
[18676]: 2018-04-04 11:50:35.155 DEBUG Backing up sitebuilder server settings:
[18676]: 2018-04-04 11:50:35.155 DEBUG /opt/psa/bin/sw-engine-pleskrun /usr/local/sb/utils/bru.php --backup --target=server_settings --log=stdout --file=pmm-sb5-sc-KmnUxNqa
[18676]: 2018-04-04 11:50:35.155 DEBUG ...backup plan a9b5e317-bf95-2e3d-12f2-8fd1986a0d85
...backup plan 4de80e0e-3832-a371-b7b8-5795c1dfdf25
Placeholder(s) not found
...write backup
Done
[18676]: 2018-04-04 11:50:35.155 DEBUG Tar bundle. id=backup_sb_server_1803260307_1804041147:gzipped, destFile=/var/lib/psa/dumps/backup_sb_server_1803260307_1804041147
[18676]: 2018-04-04 11:50:35.165 DEBUG Add file backup_sb_server_1803260307_1804041147.tgz to archive
[18676]: 2018-04-04 11:50:35.166 DEBUG Tar bundle. id=backup_dd_conf_1803260307_1804041147:gzipped, destFile=/var/lib/psa/dumps/backup_dd_conf_1803260307_1804041147
[18676]: 2018-04-04 11:50:35.175 DEBUG Add file backup_dd_conf_1803260307_1804041147.tgz to archive
[18676]: 2018-04-04 11:50:35.176 TRACE SQL: SELECT ip_address, mask, iface, c.pvt_key pvtkey FROM IP_Addresses i INNER JOIN certificates c ON c.id = i.ssl_certificate_id: Params:
[18676]: 2018-04-04 11:50:35.186 TRACE SQL: SELECT val FROM misc WHERE param = 'FullHostName': Params:
[18676]: 2018-04-04 11:50:35.187 TRACE SQL: SELECT cp.param, cp.val FROM cl_param cp, clients c WHERE cp.cl_id = c.id AND c.login = 'admin': Params:
[18676]: 2018-04-04 11:50:35.187 TRACE SQL: SELECT param, val FROM misc WHERE param RLIKE '^default_server_': Params:
[18676]: 2018-04-04 11:50:35.187 TRACE SQL: SELECT id, host, port, type, admin_login, admin_password, server_version FROM DatabaseServers: Params:
[18676]: 2018-04-04 11:50:35.188 TRACE SQL: SELECT param, val FROM misc: Params:
[18676]: 2018-04-04 11:50:35.188 TRACE SQL: SELECT name, value FROM ServiceNodeConfiguration AS c LEFT JOIN ServiceNodes AS n ON c.serviceNodeId = n.id WHERE n.ipAddress = 'local' AND section='mailServer': Params:
[18676]: 2018-04-04 11:50:35.222 DEBUG Load keys from '/etc/sw/keys/keys'
[18676]: 2018-04-04 11:50:35.370 DEBUG Tar bundle. id=backup_keyXXMOUEzc.key_1803260307_1804041147:gzipped, destFile=/var/lib/psa/dumps/backup_keyXXMOUEzc.key_1803260307_1804041147
[18676]: 2018-04-04 11:50:35.379 DEBUG Add file backup_keyXXMOUEzc.key_1803260307_1804041147.tgz to archive
[18676]: 2018-04-04 11:50:35.501 DEBUG Tar bundle. id=backup_keyXXb7B1Yp.key_1803260307_1804041147:gzipped, destFile=/var/lib/psa/dumps/backup_keyXXb7B1Yp.key_1803260307_1804041147
[18676]: 2018-04-04 11:50:35.509 DEBUG Add file backup_keyXXb7B1Yp.key_1803260307_1804041147.tgz to archive
[18676]: 2018-04-04 11:50:35.526 TRACE SQL: SELECT domain FROM badmailfrom: Params:
[18676]: 2018-04-04 11:50:35.555 TRACE SQL: SELECT ip_address, ip_mask FROM smtp_poplocks: Params:
[18676]: 2018-04-04 11:50:35.556 TRACE SQL: SELECT id, ip_address FROM IP_Addresses: Params:
[18676]: 2018-04-04 11:50:35.556 TRACE SQL: SELECT name, url, enabled FROM externalWebmails: Params:
[18676]: 2018-04-04 11:50:35.557 TRACE SQL: SELECT pvt_key FROM certificates WHERE id = ?: Params: 26
[18676]: 2018-04-04 11:50:35.563 DEBUG outgoing_email_mode found: explicit-ip
[18676]: 2018-04-04 11:50:35.563 DEBUG Argument "explicit-ip" isn't numeric in numeric eq (==) at /opt/psa/PMM/agents/PleskX/Packer.pm line 6634.
[18676]: 2018-04-04 11:50:35.563 DEBUG Argument "explicit-ip" isn't numeric in numeric eq (==) at /opt/psa/PMM/agents/PleskX/Packer.pm line 6634.
[18676]: 2018-04-04 11:50:35.563 TRACE SQL: SELECT * FROM dns_recs_t: Params:
[18676]: 2018-04-04 11:50:35.570 TRACE SQL: SELECT c.id FROM certificates c, Repository r WHERE c.id=r.component_id AND r.rep_id=? ORDER BY c.id: Params: 1
[18676]: 2018-04-04 11:50:35.570 TRACE SQL: SELECT * FROM certificates WHERE id=?: Params: 3
[18676]: 2018-04-04 11:50:35.571 TRACE SQL: SELECT * FROM certificates WHERE id=?: Params: 24
[18676]: 2018-04-04 11:50:35.572 TRACE SQL: SELECT * FROM certificates WHERE id=?: Params: 26
[18676]: 2018-04-04 11:50:35.578 TRACE SQL: SELECT id FROM custom_buttons WHERE level=? AND level_id=?: Params: 1, 0
[18676]: 2018-04-04 11:50:35.578 TRACE SQL: SELECT * FROM custom_buttons WHERE id=? AND place!='': Params: 1
[18676]: 2018-04-04 11:50:35.579 TRACE SQL: SELECT * FROM custom_buttons WHERE id=? AND place!='': Params: 3
[18676]: 2018-04-04 11:50:35.582 DEBUG Tar bundle. id=backup_0-en4LqG.3_1803260307_1804041147:gzipped, destFile=/var/lib/psa/dumps/backup_0-en4LqG.3_1803260307_1804041147
[18676]: 2018-04-04 11:50:35.589 DEBUG Add file backup_0-en4LqG.3_1803260307_1804041147.tgz to archive
[18676]: 2018-04-04 11:50:35.590 DEBUG Execute: df -P -k /var/lib/psa/dumps
[18676]: 2018-04-04 11:50:35.622 WARN 753afcee-2839-4899-81e1-bd68f3dcf2db Not all the data was backed up into /var/lib/psa/dumps successfully.
Total space: 1982.00 GB; Available space: 1494.00 GB; Mounted on: /.
/bin/tar: Cowardly refusing to create an empty archive
Try '/bin/tar --help' or '/bin/tar --usage' for more information.
[18676]: 2018-04-04 11:50:35.623 TRACE SQL: SELECT * FROM custom_buttons WHERE id=? AND place!='': Params: 4
[18676]: 2018-04-04 11:50:35.626 DEBUG Tar bundle. id=backup_0-v9n6h9.4_1803260307_1804041147:gzipped, destFile=/var/lib/psa/dumps/backup_0-v9n6h9.4_1803260307_1804041147
[18676]: 2018-04-04 11:50:35.634 DEBUG Add file backup_0-v9n6h9.4_1803260307_1804041147.tgz to archive
[2018-04-04 11:50:35.634|20005] INFO: Export file backup_0-v9n6h9.4_1803260307_1804041147.tgz
[2018-04-04 11:50:35.634|20005] INFO: Link /var/lib/psa/dumps/backup_0-v9n6h9.4_1803260307_1804041147.tgz to /usr/local/psa/PMM/tmp/pmm-de-tmp-repo-Ge9ngO/backup_0-v9n6h9.4_1803260307_1804041147.tgz
[2018-04-04 11:50:35.634|20005] INFO: Add file '/usr/local/psa/PMM/tmp/pmm-de-tmp-repo-Ge9ngO/backup_0-v9n6h9.4_1803260307_1804041147.tgz' to archive as 'backup_0-v9n6h9.4_1803260307_1804041147.tgz'
[18676]: 2018-04-04 11:50:35.635 DEBUG Execute: df -P -k /var/lib/psa/dumps
[18676]: 2018-04-04 11:50:35.639 WARN 6e598fc7-b17b-435e-811e-b0a23209bd22 Not all the data was backed up into /var/lib/psa/dumps successfully.
Total space: 1982.00 GB; Available space: 1494.00 GB; Mounted on: /.
/bin/tar: Cowardly refusing to create an empty archive
Try '/bin/tar --help' or '/bin/tar --usage' for more information.
 
Code:
[2018-04-05 16:32:22.459|14170] INFO: Executing utility: /bin/tar --create --file - --directory /usr/local/psa/PMM/tmp/pmm-de-tmp-repo-HaaVAV --dereference --blocking-factor 1 --no-recursion --files-from /usr/local/psa/PMM/tmp/pmm-taw-af-includes-DG5hXJ
[12860]: 2018-04-05 16:32:22.494 WARN cf29f46c-0681-43c7-8e66-88923181a30a Not all the data was backed up into /var/lib/psa/dumps/clients/xxxx/domains/xxxxxx.com successfully.
Total space: 1982.00 GB; Available space: 1413.00 GB; Mounted on: /.
/bin/tar: httpdocs/down/9/9/5/9/0/17170.attach: Cannot stat: No such file or directory
/bin/tar: httpdocs/down/9/9/5/9/0/17170.thumb: Cannot stat: No such file or directory
/bin/tar: Exiting with failure status due to previous errors
 
Code:
[18676]: 2018-04-04 11:50:35.578 TRACE SQL: SELECT id FROM custom_buttons WHERE level=? AND level_id=?: Params: 1, 0
[18676]: 2018-04-04 11:50:35.578 TRACE SQL: SELECT * FROM custom_buttons WHERE id=? AND place!='': Params: 1
[18676]: 2018-04-04 11:50:35.579 TRACE SQL: SELECT * FROM custom_buttons WHERE id=? AND place!='': Params: 3
[18676]: 2018-04-04 11:50:35.582 DEBUG Tar bundle. id=backup_0-en4LqG.3_1803260307_1804041147:gzipped, destFile=/var/lib/psa/dumps/backup_0-en4LqG.3_1803260307_1804041147
[18676]: 2018-04-04 11:50:35.589 DEBUG Add file backup_0-en4LqG.3_1803260307_1804041147.tgz to archive
[18676]: 2018-04-04 11:50:35.590 DEBUG Execute: df -P -k /var/lib/psa/dumps
[18676]: 2018-04-04 11:50:35.622 WARN 753afcee-2839-4899-81e1-bd68f3dcf2db Not all the data was backed up into /var/lib/psa/dumps successfully.
Total space: 1982.00 GB; Available space: 1494.00 GB; Mounted on: /.
/bin/tar: Cowardly refusing to create an empty archive
Try '/bin/tar --help' or '/bin/tar --usage' for more information.
[18676]: 2018-04-04 11:50:35.623 TRACE SQL: SELECT * FROM custom_buttons WHERE id=? AND place!='': Params: 4

This warning is not fatal. In general backing up is working, but skipped some data.
It looks like something wrong with your custom buttons in Plesk.
Please, check it in Tools & Settings > Custom Buttons (recreate if need)
and /usr/local/psa/admin/htdocs/images/custom_buttons
files of custom button can be corrupted, symlinked, has wrong permissions or has special symbols in filename like e.g. killer symbol (People are trolling iPhone users with the ‘killer symbol’ that crashes their apps).
 
Back
Top