• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Changing domain backup location

B

bplinson

Guest
Is there anyway to change the backup location for the domain backups?

By default Plesk puts the backups in the /var/lib/dumps/domainname directories but my var partion is not begi enough to hold more than one back up.

I have a second harddrive that I would like to have the backups stored on.

Currently I run a script after every backup that moves the backups to the second harddrive but it would be nice to have it go there automatically.

Also, once I move the backup files they non longer show up in Plesk under the backup area.
 
Hi,

A simple solution is to make a symbolic link to another partition (here /home/xxx).

as root

cd /var/lib/psa

cp -pr dumps /home/xxx/dumps

/etc/init.d/psa stop

mv dumps dumps.ori (to delete later)

ln -s /home/xxx/dumps dumps

cd /home/xxx

chown root:root . (dot)

chmod 755 . (dot)

/etc/init.d/psa start

That's it... :)


Another solution is perhaps to change the DUMPS_D variable in /etc/psa/psa.conf (not tested).

ZX81Pro
 
Thanks! I will give this a try.

Now if it does not work how do I remove the symbolic link.
 
Simple :

Syntax : rm symbolic link - more info : man rm

cd /var/lib/psa
rm dumps (remove the symbolic link !)
mv dumps.ori dumps (restore the dumps)

also stop en start psa...
 
There is DUMP_D (or something like this) parameter in /etc/psa/psa.conf which points to the backup directory.
 
Back
Top