Plesk License Number

Plesk Change Backup Location

By default, Plesk store backups in folder /var/lib/psa/dumps/. To move this to a differnt partition or directory, create a folder

Edit file

Find

Replace with

Move old backup to new location

Remove old backup directory, here i rename it to dumps-old, you can delete it.

Restart Plesk

Related Posts

Plesk
Plesk MySQL Daily Backup Script

Plesk move vhosts folder

Plesk use /var/www/vhosts folder to store sites. On some servers this folder will be on smaller partition. Say you have all disk space on partition /home, in such cause, you can use following command to move web site files to /home folder with following command.

/home/ = you can replace this any any folder you wish. Plesk will move the site files, update the configuration as required.

NOTE: In this example, i used /var/www/vhosts instead of /home/ as the server was using non default folder for vhosts, i am moving all sites back to default location (/var/www/vhosts).

See Plesk

Plesk License Number

Install PHP 5.6 on Debian 9 Plesk Server

To install PHP 5.6 on Debian 9 Plesk Server, add sury.org repository

Install PHP 5.6 with apt

Optional: Enable PHP 5.6 as default CLI

This will show all available PHP version, select the default version for command line.

Enable PHP 5.6 in Plesk

Plesk MagicSpam

Install MagicSpam on Plesk

MagicSpam is an anti spam filter for Plesk and DirectAdmin servers. You can purchase MagicSpam from

https://www.magicspam.com

To install MagicSpam, upload the zip file you get to /root/ folder of your server and run

Example

Plesk MagicSpam

Plesk License Number

Install Redis on Plesk Debian Server

To install Redis on Plesk Debian/Ubuntu server, run

Now install PHP Modules

After installing, you will see redis listed in phpinfo() page.

Redis PHP Debian

Plesk License Number

Find Plesk Version

To find Plesk version, login to server as user root SSH and run

Example

Plesk License Number

Plesk Install PHP

To install differnt version of PHP in plesk server, run

This will list available PHP versions to install.

To install PHP 5.3, run

To install PHP 5.6, run

See Plesk

Plesk MySQL upgrade 5.1 to 5.5

When trying to restore a database backup taken on MariaDB 5.5.56 on a Plesk server running MySQL 5.1, i get error

[[email protected] ~]# mysql admin_dollsweb < admin_dollsweb.sql ERROR 1273 (HY000) at line 25: Unknown collation: 'utf8mb4_unicode_ci' [[email protected] ~]#

This is because MySQL 5.1 do not support utf8mb4_unicode_ci.

Solution 1

You can find and replace utf8mb4_unicode_ci with utf8_general_ci

One problem with this is you may lose some characters if the DB use the new charsets supported by utf8mb4_unicode_ci. utf8mb4_unicode_ci For most sites these won’t be a problem. utf8mb4_unicode_ci support latest emoji chars.

Solution 2

Upgrade MySQL to version 5.5 or newer.

On Plesk server, do the following steps

When asked, type “yes” to enable the repo.

Upgrade MySQL with

Restart MySQL

Upgrade MySQL database with