• 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

Backup Problems: Plesk 11.5.40 #MU3

After updating the panel, the backup still does not work.

If there is insufficient space in /usr/local/psa/PMM/tmp/ the copy remains in the server repository.

Expanding the space of /usr to a size larger than the copy, backup works correctly

regards
 
http://kb.parallels.com/116874 - Parallels Plesk Panel 11.5.30 MU#13

I'm still getting warnings.

Code:
Warning:	hosting "domain1.de"

Failed to pack files test_domain1.de_user-data_1308270814 in /var/lib/psa/dumps/clients/client1/domains/domain.de/sites/domain1.de [ 545723060224 bytes free of 709205805056 bytes total on mount point 0]

Warning:	hosting "domain1.de"

/bin/tar: subdomains/cd/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/cd/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/news/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/news/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

Warning:	hosting "domain2.de"

Failed to pack files test_domain2.de_user-data_1308270814 in /var/lib/psa/dumps/clients/client2/domains/domain2.de [ 544563159040 bytes free of 709205805056 bytes total on mount point 0]

Warning:	hosting "domain2.de"

/bin/tar: subdomains/dev/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/dev/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

Warning:	hosting "domain3.de"

Failed to pack files test_domain3.de_user-data_1308270814 in /var/lib/psa/dumps/clients/client2/domains/domain2.de/sites/domain3.de [ 544502964224 bytes free of 709205805056 bytes total on mount point 0]

Warning:	hosting "domain3.de"

/bin/tar: anon_ftp: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: private: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

Warning:	hosting "domain4.de"

'undef' password passed to _makePasswordData. Change to empty!

Warning:	hosting "domain4.de"

Failed to pack files test_domain4.de_user-data_1308270814 in /var/lib/psa/dumps/clients/client3/domains/domain4.de [ 543938060288 bytes free of 709205805056 bytes total on mount point 0]

Warning:	hosting "domain4.de"

/bin/tar: subdomains/piwik/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/piwik/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/sms/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/sms/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/linklibrary.services/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/linklibrary.services/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/mail2go/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/mail2go/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/cmail/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/cmail/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/codelib/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/codelib/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/kuv2011/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/kuv2011/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/kuvzend/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/kuvzend/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

Warning:	hosting "domain5.de"

Failed to pack files test_domain5.de_apache-files_1308270814 in /var/lib/psa/dumps/clients/client4/domains/domain5.de [ 543761858560 bytes free of 709205805056 bytes total on mount point 0]

Warning:	hosting "domain5.de"

/bin/tar: private/httpdocs/templates_c/%%20^20F^20F1EA65%%atem.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%86^864^8644F0D6%%home.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%CC^CCE^CCEE139E%%info.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%45^45E^45E480CD%%index.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%0E^0E4^0E407559%%footer.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%21^212^212C45AF%%profil.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%F7^F7F^F7F34188%%header.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%BF^BFA^BFAB88F2%%kontakt.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%97^97B^97B90720%%impressum.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%B2^B2C^B2C6AB38%%ernaehrung.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%9F^9F1^9F1BF103%%kontakt_info.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%93^936^9368DCB3%%the_reconnection.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%23^230^230F362C%%matrix_energetix.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%DF^DF5^DF571796%%stoffwechseltraining.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

Warning:	hosting "domain6.de"

Failed to pack files test_domain6.de_user-data_1308270814 in /var/lib/psa/dumps/clients/client5/domains/domain6.de [ 543016484864 bytes free of 709205805056 bytes total on mount point 0]

Warning:	hosting "domain6.de"

/bin/tar: private: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler
 
I'm still getting warnings.

Code:
Warning:	hosting "domain1.de"

Failed to pack files test_domain1.de_user-data_1308270814 in /var/lib/psa/dumps/clients/client1/domains/domain.de/sites/domain1.de [ 545723060224 bytes free of 709205805056 bytes total on mount point 0]

Warning:	hosting "domain1.de"

/bin/tar: subdomains/cd/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/cd/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/news/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/news/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

Warning:	hosting "domain2.de"

Failed to pack files test_domain2.de_user-data_1308270814 in /var/lib/psa/dumps/clients/client2/domains/domain2.de [ 544563159040 bytes free of 709205805056 bytes total on mount point 0]

Warning:	hosting "domain2.de"

/bin/tar: subdomains/dev/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/dev/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

Warning:	hosting "domain3.de"

Failed to pack files test_domain3.de_user-data_1308270814 in /var/lib/psa/dumps/clients/client2/domains/domain2.de/sites/domain3.de [ 544502964224 bytes free of 709205805056 bytes total on mount point 0]

Warning:	hosting "domain3.de"

/bin/tar: anon_ftp: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: private: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

Warning:	hosting "domain4.de"

'undef' password passed to _makePasswordData. Change to empty!

Warning:	hosting "domain4.de"

Failed to pack files test_domain4.de_user-data_1308270814 in /var/lib/psa/dumps/clients/client3/domains/domain4.de [ 543938060288 bytes free of 709205805056 bytes total on mount point 0]

Warning:	hosting "domain4.de"

/bin/tar: subdomains/piwik/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/piwik/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/sms/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/sms/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/linklibrary.services/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/linklibrary.services/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/mail2go/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/mail2go/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/cmail/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/cmail/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/codelib/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/codelib/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/kuv2011/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/kuv2011/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/kuvzend/conf: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: subdomains/kuvzend/error_docs: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

Warning:	hosting "domain5.de"

Failed to pack files test_domain5.de_apache-files_1308270814 in /var/lib/psa/dumps/clients/client4/domains/domain5.de [ 543761858560 bytes free of 709205805056 bytes total on mount point 0]

Warning:	hosting "domain5.de"

/bin/tar: private/httpdocs/templates_c/%%20^20F^20F1EA65%%atem.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%86^864^8644F0D6%%home.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%CC^CCE^CCEE139E%%info.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%45^45E^45E480CD%%index.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%0E^0E4^0E407559%%footer.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%21^212^212C45AF%%profil.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%F7^F7F^F7F34188%%header.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%BF^BFA^BFAB88F2%%kontakt.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%97^97B^97B90720%%impressum.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%B2^B2C^B2C6AB38%%ernaehrung.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%9F^9F1^9F1BF103%%kontakt_info.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%93^936^9368DCB3%%the_reconnection.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%23^230^230F362C%%matrix_energetix.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: private/httpdocs/templates_c/%%DF^DF5^DF571796%%stoffwechseltraining.tpl.php: Kann stat nicht ausführen: Keine Berechtigung
/bin/tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

Warning:	hosting "domain6.de"

Failed to pack files test_domain6.de_user-data_1308270814 in /var/lib/psa/dumps/clients/client5/domains/domain6.de [ 543016484864 bytes free of 709205805056 bytes total on mount point 0]

Warning:	hosting "domain6.de"

/bin/tar: private: Kann open nicht ausführen: Keine Berechtigung
/bin/tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

I fixed it by deleting all these folders/files. It seems they are not used anymore because of a new directory structure.
 
My backup is saying successful, however it is only backing up apache:apache files and nothing else (ie: files uploaded by the ftp account). Also, when I attempt to download the backup from plesk, it responds with a 404 error even though it is there and is uploading to the remote server.

Please help!

Plesk 11.5.30 // CentOS 5.9 x64 // php5.3
 
If I get it right, then having a file with apache:apache 0600 (typical session file) will produce message:

For security reason backup is performed on behalf of subscription system user.

And this will lead to a fail:

Failed to pack files

My workaround for this is to edit /usr/local/psa/PMM/agents/shared/Storage/TarBundle.pm and exclude the directories/files, which make trouble. In the sub commandLine anywhere after my $cmd add line like:

$cmd .= " --exclude=/var/www/vhosts/yourdomain/httpdocs/tmp/session";

The backup will pass thru.

This is a solution for files, that do not need to be backup. But you may have images uploaded by users and then this is is clear bug, which must be fixed by Parallels.
 
A workaaround for buggy backup

If I get it right, then having a file with apache:apache 0600 (typical session file) will produce message:

For security reason backup is performed on behalf of subscription system user.

And this will lead to a fail:

Failed to pack files

My workaround for this is to edit /usr/local/psa/PMM/agents/shared/Storage/TarBundle.pm and exclude the directories/files, which make trouble. In the sub commandLine anywhere after my $cmd add line like:

$cmd .= " --exclude=/var/www/vhosts/yourdomain/httpdocs/tmp/session";

The backup will pass thru.

This is a solution for files, that do not need to be backup. But you may have images uploaded by users and then this is is clear bug, which must be fixed by Parallels.
 
same for me....
Plesk 12 on CentOS6.6
still getting:
Code:
Not all the data was backed up into /var/lib/psa/dumps/clients/clientname/domains/domainname.tld successfully. /bin/tar: httpdocs/_dir/css: Cannot stat: Permission denied
/bin/tar: httpdocs/_dir/filename.php: Cannot stat: Permission denied
/bin/tar: httpdocs/_dir/dirname: Cannot stat: Permission denied
/bin/tar: httpdocs/_dir/filename2.php: Cannot stat: Permission denied

when "_dir" has "rw-r--r--" rights an Owner is "FTPname_owner" and group is "psacln"

The problem is that files in this directory must be blocked for "group" and "world" in apache but must be there for support or root cron's like mysqldumper.
This problems occur since update from plesk 11.0.x to 12, before the backup works fine!

Please find a solution for that.
 
This problem has been ongoing for MONTHS for us.

Plesk tech support have never been able to fix it despite it working fine for years pre Plesk 12
 
I know, this is old, but the issue still affects me. All files in folders created by www-data and chmod 770 or below won't be included in the backup - with NO error message! The log just states a tar error. /bin/tar: -: Cannot write: Broken pipe.

Please FIX it or provide a possibility to perform backup as root.

12.0.18 Update #53 on
Ubuntu 14.04.2 LTS


It's especially about an owncloud data folder which isn't included in the backup.
 
What is output of command:

# grep DUMP_D /etc/psa/psa.conf | awk '{print "ls -ld "$2}' | sh

?
 
Try to fix vhosts permissions with

# plesk bin repair --restore-vhosts-permissions
 
Done that. The problem was with plesk support for weeks before we we gave up and closed the ticket without anything being fixed. Every night I still get backup errors because it can't backup the cache files on a forum. The problem is I don't need these files backup up but plesk provides no way to exclude them.

See my ticket with support:

#1953275: Plesk domain backup error
 
It's not just excluding cache files it should be to exclude any files/directories of my choosing.

Thanks for the feedback. I'll try your workaround and report back.
 
Back
Top