Plesk domain bakups

Here is the steps to backup individual domain on Plesk. I’ve tested. It works. 1) backup the domain #pleskbackup -v domains backupfilename.bkp 2) Then create a map file #pleskrestore –create-map backupfilename.bkp -map yourmapfilename map file should be like that below. if not, edit it. ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++ [thisdomain’sclientname] # Client account name # […]

How can I restore the Plesk psa database from a backup?

The following example shows how to restore the mysql.preupgrade.dump.gz backup file. gunzip /var/lib/psa/dumps/mysql.preupgrade.dump.gz mysql -uadmin -p`cat /etc/psa/.psa.shadow` -e”DROP DATABASE psa;” mysql -uadmin -p`cat /etc/psa/.psa.shadow` < /var/lib/psa/dumps/mysql.preupgrade.dump Actually standard daily backup file includes three databases: * psa * horde * mysql That is why the following error message will appear when you performed the latest command: […]

Fatal error: Allowed memory size of 123456 bytes exhausted (tried to allocate 234567 bytes) in /path/file.php

Php is setup is to limit memory usage per process. If you require more, this limit can be increased. Edit /usr/local/lib/php.ini If you are unsure about the php.ini path, You can find your server php.ini using command : php -i | grep php.ini Configuration File (php.ini) Path => /usr/local/lib Loaded Configuration File => /usr/local/lib/php.ini and […]