• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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