Sunday, January 20, 2008

Linux Plesk Backup

This is a continuation of our Linux command line backup blog post from January 2008.

Plesk has its own set of utilities for backup. So, simply run a pre-command with Ahsay's OBM client, backup the Plesk native file(s), and you're done.

Here's what to do:

#mkdir /pleskbackup

In the backup set, run this pre-command without the quotes:
"/usr/local/psa/bin/pleskbackup all /pleskbackup/pleskbackup"

In the backup set, you only need to backup this directory without the quotes:
"/pleskbackup"

NOTES:
--You don't need to enable in-file delta. The way Plesk writes the file causes 80-100% of the file to change. So, every backup will be a full backup.
--Backing up Plesk this way enables a full backup of files; customers; databases; spam settings; and so on. It's very comprehensive
--Read more on pleskbackup command if you need to backup a single account versus the entire server.
--We do not keep the Ahsay service running on any command line Linux server. We recommend running from crontab.