• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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