• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Backup download issue

dalkol

Basic Pleskian
Hello

I can not download my full backup via Plesk.

I have 7.70GB backup and when i click download, it pop it up and show only few kb of downloaded package.

And found this in log:

Backup Manager .................................................... [ERROR]
To see more details, run the command in the verbose mode: plesk repair fs -ver bose
Repairing incorrect permissions ................................. [2017-10-1 5 21:24:02] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/fsmng ' '--set-ac' '/var/lib/psa/dumps' '--perms' '0750' '--owner' 'psaadm' '--group' 'psaadm'] with exit code [1]

fsmng failed: ERROR:Expected and actual types of file '/var/lib/psa/dumps' do not match: directory != symlink .
 
Do you have any symlinks in /var/lib/psa/dumps ? What is output of command:

# ls -la /var/lib/psa/dumps

?
 
Hi dalkol,

as you can see, you created a SYMLINK, which doesn't work here. If you desire to change the backup directory, you would change this in your "/etc/psa/psa.conf". ;)
 
Tried both editing psa.conf and create the symlink at default backup path, but still it only download xml file which is less than a mb in size.
 
Hi dalkol,

pls. note, that AFTER changing your "psa.conf", it is essential to restart your services:
Code:
service psa restart

Pls. post the output of the example command ( logged in as user "root" over SSH )
Code:
grep DUMP /etc/psa/psa.conf


... and pls. AVOID to use any symlinks, as they will not work! ;)


Pls. make as well sure, that you have the correct permissions for a new backup - location:
Code:
ls -l /var/lib/psa

drwxr-x--- 2 psaadm psaadm XXXX XXX XX XX:XX dumps
... has to match:
Code:
ls -l /data
 
Last edited by a moderator:
Hi dalkol,

pls. note, that AFTER changing your "psa.conf", it is essential to restart your services:
Code:
service psa restart

Pls. post the output of the example command ( logged in as user "root" over SSH )
Code:
grep DUMP /etc/psa/psa.conf


... and pls. AVOID to use any symlinks, as they will not work! ;)


Pls. make as well sure, that you have the correct permissions for a new backup - location:
Code:
ls -l /var/lib/psa

drwxr-x--- 2 psaadm psaadm XXXX XXX XX XX:XX dumps
... has to match:
Code:
ls -l /data


Here are the requested details:

[root$v-1 psa]# ls -ld /data/dumps/
drwxr-x---. 4 psaadm psaadm 4096 Oct 16 03:18 /data/dumps/

[root$v-1 psa]# grep DUMP /etc/psa/psa.conf
#DUMP_D /var/lib/psa/dumps
DUMP_D /data/dumps
DUMP_TMP_D /dev/vdb1
[root$v-1 psa]#

[root$v-1 psa]# service psa restart
[root$v-1 psa]#
 
Hi dalkol,

you missed in this case ( as you changed as well the DUMP_TMP_D path ):
Code:
ls -l /dev/vdb1
... which should match the previous permissions, as for "/tmp", which are "drwxrwxrwt" or "1777".
As your harddisk itself should NEVER have the same permissions, as a temp/tmp - folder, pls. consider to use for example "/dev/tmp" and change the permissions as to your current "/tmp" - folder permissions! ;)
 
Hi dalkol,

you missed in this case ( as you changed as well the DUMP_TMP_D path ):
Code:
ls -l /dev/vdb1
... which should match the previous permissions, as for "/tmp", which are "drwxrwxrwt" or "1777".
As your harddisk itself should NEVER have the same permissions, as a temp/tmp - folder, pls. consider to use for example "/dev/tmp" and change the permissions as to your current "/tmp" - folder permissions! ;)


#Logs
[root$v-1 psa]# service psa restart
[root$v-1 psa]# grep DUMP /etc/psa/psa.conf
#DUMP_D /var/lib/psa/dumps
DUMP_D /data/dumps
#DUMP_TMP_D /dev/vdb1
DUMP_TMP_D /tmp
[root$v-1 psa]#
 
Back
Top