Taking a snapshot/backup of WordPress from the command line on a Plesk server
I quite regularly need to take quick backups of a WordPress installation while working on a Plesk server. Here’s a script I created that will dump the DB as well as backup the WordPress directory where the site files are in. The concept is easy, execution was a little more complicated since Plesk can now store a secondary domain’s root within the filesystem path of it’s master subscriptions domain. How it works The script will query the psa database for the domain id of a supplied domain. Next it will get the www root of the domain using the domain […]
Taking a snapshot/backup of WordPress from the command line on a Plesk server Read More »