• 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

change location of server repository?

J

Joshua Sortino

Guest
I'm using the backup manager to keep copies of client's configurations and files. However, I would like these to be stored on an external hard drive. How do I change the location of the "Server Repository" so the backups will not be kept on the main drive.
 
Hello,

The location of root backup directory is stored in file /etc/psa/psa.conf and set by variable DUMP_D as before:

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

Server backups, backups of resellers, clients, domains and daily MySQL dumps are stored in this directory.

~# ls -l $DUMP_D
total 632
-rw-r----- 1 root root 56437 Dec 1 15:06 backup_info_0812010906.xml
-rw-r----- 1 root root 3362 Dec 1 15:06 backup_keyXXafHukD.key_0812010906.tgz
drwxr-xr-x 4 root root 4096 Dec 1 15:06 clients
drwxr-xr-x 6 root root 4096 Dec 1 15:06 domains
-rw------- 1 root root 137520 Dec 1 00:04 mysql.daily.dump.0.gz
-rw------- 1 root root 137562 Nov 30 00:04 mysql.daily.dump.1.gz
-rw------- 1 root root 137540 Nov 29 00:04 mysql.daily.dump.2.gz
-rw------- 1 root root 132342 Nov 26 00:04 mysql.daily.dump.3.gz
drwxr-xr-x 3 root root 4096 Nov 28 17:06 resellers
~ #

So try to change the DUMP_D parameter at /etc/psa/psa.conf.

Please, check the following article for more information:

http://kb.odin.com/en/5816

Thank you
 
Back
Top