PLESK BACKUP/RESTORE UTILITIES MANUAL

Chapter 1. Introduction

The Plesk backup/restore utilities allow backing up the Plesk server configuration information as well as its current content (client accounts data, domains and so on) as they are at a certain moment in time - the moment when the backup is carried out. They also allow restoring these data on the server. This proves useful when either you need to execute a system operation, which can influence such data (for instance, upgrade the OS that Plesk is running on, or upgrade Plesk itself), or simply for safety purposes. The two utilities that provide these functions are:

psadump - this utility is used for backing up configuration information and data by storing it in the dump-file

psarestore - this utility is used for restoring the backed up configuration information and data on the server from the dump-file

Executing psadump with various options and keys generates the so-called dump-file – the file that contains all of the backed-up data. The dump-file is a text file, which is a MIME document. The first segment of this file is the description of the data structure in Plesk presented in the form of an XML document. The other segments contain data of various types: tar archive, mysqldump, file, etc. – all in UUENCODE. These latter segments contain the actual server content data – the descriptions and settings for client accounts and their domains, the user databases contents and so on. This file can then be used for restoring all the information it contains on the Plesk server. The Backing up Configuration Information and Data chapter presents the detailed instructions for executing the psadump utility, describes the available options and keys, and their usage.

To restore the backed-up information on the Plesk server, the psarestore utility is used. It is called with one required parameter – the name of the dump-file; there is also a number of options and keys that allow certain flexibility in the process of restoring data. After the restore process is successfully completed, the Plesk server is configured the same way as the one, at which the back up was carried out, and contains all or some of the data, that was backed up. The Restoring Backed Up Configuration Information and Data chapter presents the detailed instructions for executing the psarestore utility, describes the available options and keys, and their usage.


to top