• 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

what means backup file in /opt/psa/PMM/tmp??

D

disproinl

Guest
Why when I try to create a backup through plesk panel, a backup file is created also in /opt/psa/PMM/tmp/?
I don't understand, because backup's dir is: /var/lib/psa/dumps, doesn't it?

I need to solve that, cause i have not space enough to create backup in two diferents paths...

I hope answer, Thankx
 
It is place for temporary backup creation. When backup will be successfully created it will be moved to correct location - ftp server or to local filesystem.
 
I have 80Gb and 35Gb of them free.
Can I not work with that? It's say, i need more space to create a backups without any problem?



pd:Thank you for your quick answer.
 
You can change location of these directories in /etc/psa/psa.conf:

# Backups directory
DUMP_D /var/lib/psa/dumps
DUMP_TMP_D /tmp
 
PMM temporary files are stored in:

1. Dir specified by 'DUMP_TMP_D' config variable with default value '/tmp'.
2. /usr/local(/opt)/psa/PMM/tmp dir if 'DUMP_TMP_D' config variable isn't set.
 
so... Have i to set up 'DUMP_TMP_D' variable?

There is something i don't understand, for what I want to change that path, if I haven´t more space.
I can´t upgrade space in that server

How could i solve it?
 
If you haven't option DUMP_TMP_D /tmp in psa.conf - create it. In that case all temporary PMM files will be created in /tmp instead /opt/psa/PMM/tmp
 
It had been already created.

Here you have my psa.conf file:


# Plesk tree
PRODUCT_ROOT_D /opt/psa

# Directory of SysV-like Plesk initscripts
PRODUCT_RC_D /etc/init.d

# Directory for config files
PRODUCT_ETC_D /opt/psa/etc

# Directory for service utilities
PLESK_LIBEXEC_DIR /usr/lib/plesk-9.0

# Virtual hosts directory
HTTPD_VHOSTS_D /var/www/vhosts

# Apache configuration files directory
HTTPD_CONF_D /etc/apache2

# Apache include files directory
HTTPD_INCLUDE_D /etc/apache2/conf.d

# Apache binary files directory
HTTPD_BIN_D /usr/bin

#Apache log files directory
HTTPD_LOG_D /var/log/apache2

#apache startup script
HTTPD_SERVICE apache2

# Qmail directory
QMAIL_ROOT_D /var/qmail

# Location of qmail maildirs
PLESK_MAILNAMES_D /var/qmail/mailnames

# Path to rblsmtpd
RBLSMTPD /usr/sbin/rblsmtpd

# Courier-IMAP
COURIER_IMAP_ROOT_D /

# Proftpd
FTPD_CONF /etc/proftpd.conf
FTPD_CONF_INC /etc/proftpd.include
FTPD_BIN_D /usr/bin
FTPD_VAR_D /var/run/proftpd
FTPD_SCOREBOARD /var/run/proftpd_scoreboard

# Bind
NAMED_RUN_ROOT_D /var/named/run-root



# Webalizer
WEB_STAT /usr/bin/webalizer

# Logrotate
LOGROTATE /opt/psa/logrotate/sbin/logrotate

# MySQL
MYSQL_VAR_D /var/lib/mysql
MYSQL_BIN_D /usr/bin

# PostgreSQL
PGSQL_DATA_D /etc/postgresql/8.3/main
PGSQL_BIN_D /usr/lib/postgresql/8.3/bin

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

# Mailman directories
MAILMAN_ROOT_D /usr/lib/mailman
MAILMAN_VAR_D /var/lib/mailman

# Python binary
PYTHON_BIN /usr/bin/python2.5

# Tomcat root directory
CATALINA_HOME /usr/share/tomcat5.5

# DrWeb
DRWEB_ROOT_D /opt/drweb
DRWEB_ETC_D /etc/drweb

# GnuPG binary
GPG_BIN /usr/bin/gpg

# Tar binary
TAR_BIN /bin/tar

# AWStats
AWSTATS_ETC_D /etc/awstats
AWSTATS_BIN_D /usr/lib/cgi-bin
AWSTATS_TOOLS_D /usr/share/doc/awstats/examples
AWSTATS_DOC_D /usr/share/awstats

# openssl binary
OPENSSL_BIN /usr/bin/openssl

LIB_SSL_PATH /lib/libssl.so
LIB_CRYPTO_PATH /lib/libcrypto.so

CLIENT_PHP_BIN /opt/psa/bin/php-cli
CGI_PHP_BIN /var/www/cgi-bin/cgi_wrapper/cgi_wrapper
 
What about mounting additional hard drive to /opt/psa/PMM/tmp mountpoint if you have lack of diskspace there?
 
I told it few post before, I can't update that server.
That is the reason so I was looking for another kind of solution..
 
By default temporary dumps should be removed after successfully completed scheduled backup. If you have there dumps with big size it means that backup tasks for some domains have not been successfully completed for some reason. Backup logs investigation is required for determining this reason. If you can't find it by yourself - contact Parallels Support Team.
 
We have this same issue, partition where DUMP_TMP_D is pointed is too small to accept the temp FTP dump so it cant upload to FTP server.

We've tried changing DUMP_TMP_D to /var/lib/psa/tmp and restarted psa but the temp dump still writes to the original dir opt/psa/pmm/tmp.

I found several other posts about folks trying this same change without success ...and asking why plesk is ignoring that variable, havent seen anything from plesk since. It would be preferred if we could update that DUMP_TMP_D variable to change directory which is what its for instead of making symlinks which seems to be the only solution I've seen so far
 
Back
Top