• 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

Pb with plek backup manager

Stéphaneb

New Pleskian
Hello,

I have a server with centos 6.5 with plesk 11.5, and I have a problem with my backup.

Plesk says, I do not have enough free space.

But when I do a dh -h
Code:
Filesystem      Size  Used Avail Use% Mounted on
rootfs           20G  3,8G   15G  21% /
/dev/root        20G  3,8G   15G  21% /
devtmpfs         16G  256K   16G   1% /dev
/dev/md2        1,8T   13G  1,7T   1% /var
tmpfs            16G     0   16G   0% /dev/shm
/dev/root        20G  3,8G   15G  21% /var/named/chroot/etc/named
/dev/md2        1,8T   13G  1,7T   1% /var/named/chroot/var/named
/dev/root        20G  3,8G   15G  21% /var/named/chroot/etc/named.rfc1912.zones
/dev/root        20G  3,8G   15G  21% /var/named/chroot/etc/rndc.key
/dev/root        20G  3,8G   15G  21% /var/named/chroot/usr/lib64/bind
/dev/root        20G  3,8G   15G  21% /var/named/chroot/etc/named.iscdlv.key
/dev/root        20G  3,8G   15G  21% /var/named/chroot/etc/named.root.key

I check the variable in psa.conf they are correct.
I reinstall the backup component of any change
I put a centos day and no change
I check the propriaitaire and authorization of variables, there is no problem

Please help me i'm lost ....
 
Hello,

What is the exact error massages are you getting in plesk backup logs ? May be there is an issues with the backup directory OR backup TMP directory. You can check this config in /etc/psa/psa.conf file
 
thx for you answer

This is variable in psa.conf

Code:
# Backups directory
DUMP_D /var/lib/psa/dumps
DUMP_TMP_D /var/tmp

In /usr/local/psa/PMM/logs/pmmcli.log

Code:
[2014-02-14 20:28:02.098|1543] DEBUG: LOG: custom log /usr/local/psa/PMM/logs/backup-2014-02-14-20-28-02-775/backup.log
[2014-02-14 20:28:02.098|1543] INFO: Exception 'KeyError('FREE_DISK_SPACE',)' during retrieving key FREE_DISK_SPACE value: 'FREE_DISK_SPACE'
[2014-02-14 20:28:02.098|1543] DEBUG: Acquired session mutex: MainThread
[2014-02-14 20:28:02.761|1543] DEBUG: Released session mutex: MainThread
[2014-02-14 20:28:02.761|1543] DEBUG: Acquired session mutex: MainThread
[2014-02-14 20:28:02.781|1543] DEBUG: Released session mutex: MainThread
[2014-02-14 20:28:02.781|1543] DEBUG: <pmmcli.MakeDumpAction object at 0xa02c50>: response
[2014-02-14 20:28:02.782|1543] INFO: Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <errcode>11</errcode>
    <errmsg>Low Disk space for backup</errmsg>
    <data>
        <task-id>2147477061</task-id>
    </data>
</response>
 
Check that file /usr/local/psa/admin/share/pmmcli/pmmcli-rc is not empty and hasn't 0 bytes size.
 
Yes this file is empty and 0 bytes size.

It is a reason of issue. Do you have original of this file? On my test server:

# rpm -qf /usr/local/psa/admin/share/pmmcli/pmmcli-rc
plesk-core-11.5.30-cos6.build115130819.13.i386

# cat /usr/local/psa/admin/share/pmmcli/pmmcli-rc
#
# (c) Copyright 1999-2008 Parallels
# All Rights Reserved
#
# This file is used to declare pmmcli utility paramemers. No changes
# should be made to this file without first consulting support.
# Any changes made can affect service availability and performance.
#
# Each line in this file follows the following format:
#
# variable [whitespace characters] value
#
# That is, the name of the field, followed by spaces or tabs, followed
# by field value. Trailing spaces are removed.
#

# Required free disk space (Mb) to perform backup operation
FREE_DISK_SPACE 20

# Compare free disk space with predicted size of dump (possible values are: 0, 1)
CHECK_BACKUP_DISK_SPACE 1

# pmmcli daemon timeout (in minutes)
DAEMON_TIMEOUT 30

# timeout to keep temp dumps after last access (in seconds, 0...86400). used with "--export-dump-as-file -temp" command
KEEP_TEMP_DUMP 1800

# Time to keep old session (in days)
# "30 days" value is hardcoded in the CL utilities exit messages
DAYS_TO_KEEP_SESSIONS 30

# smtpserver name
SMTPSERVER localhost

# AUTHREQUIRED param of smtpserver
AUTHREQUIRED 0

# smtpserver user name (not required if AUTHREQUIRED=0)
#SMTPUSER user

# smtpserver user password (not required if AUTHREQUIRED=0)
#SMTPPASS pass

# Notification mail subject
MAILSUBJECT Backup/Restore task notification

# Notification mail 'mail-from' parameter
#MAILFROM "Plesk administrator"

# Notification mail 'mail-reply-to' parameter
#MAILREPLYTO "Plesk administrator"

# Message body of notification mail
MAILBODY '%TASK_TYPE% task finished on host %HOST_NAME%.\n\nTask was created by %OWNER_TYPE% %OWNER_NAME% with guid (%OWNER_GUID%)\n\n\nCreation date is: %CREATION_DATE%\nTask status is: %TASK_STATUS%\n\nDump full name is: %FULL_NAME%\n\n\n\n'

# Maximum number of resolve conflicts iteration
MAX_CONFLICT_RESOLVES 1

# Maximum number of log files stored
MAX_LOG_FILES 10

# Maximum size of log file before rotation
MAX_LOG_SIZE 1048576

# Add debug information to all utilities called by pmmcli
FORCE_DEBUG_LOG 0

# Coefficient to calculate required disk space on source host. Required disk space = sum of required disk space for all domains * this coefficient
USED_SPACE_COEFFICIENT 0.7

# Run all backup processes with adjusted niceness (lower priority). Possible values are: 0, 1. Default: 0. Only for Unix.
NICE_ALWAYS 1

# Adjustment of niceness for all backup processes. Is used when NICE_ALWAYS is 1. Possible values are: 0..19. Default: 10. Only for Unix.
NICE_ADJUSTMENT 10

# Transport for migration process. Possible values: rsync, archive. Default: rsync
MIGRATION_TRANSPORT rsync

# Use MSSQL native backup for all databases hosted on local database server
MSSQL_NATIVE_BACKUP_ENABLED 1

# Value of download migration content time which is acceptable for user. If calculated download time will be higher than specified value it will be reported on Capability Screen. In seconds. Default: 86400
MAX_TRANSFER_DOWNLOAD_TIME 86400

# Value of download migration content speed which is acceptable for user. If calculated download speed will be higher than specified value it will be reported on Capability Screen. In megabyte per second. Default: 1.25
MIN_TRANSFER_DOWNLOAD_SPEED 1.25

# Max number of log dirs stored
MAX_NUMBER_OF_LOG_DIRS 30
 
Thx you very much !!

You solved my problem !!

Now i have some little problem witch my backup => can not connect to some database and pb with Failed to pack files ... ; i go to search a solution for it

and again thank you very much
 
Back
Top