You are Here: FAQ ->Dedicated Servers->Linux Root Server->Switch to CentOS to from outdated systems->Article #12


Restoring backups


Plesk backups can be restored from within Plesk and should be the first thing to try when restoring backups. Plesk has the ability to pull backups directly from the FTP backup server and once setup with the FTP details should like you restore it directly. This is covered more in the Plesk documentation here:

http://download1.parallels.com/Plesk/Plesk8.3/Doc/en-US/plesk-8.3-unix-clients-guide/17600.htm

If this fails for any reason or you have opted to only perform manual backups, you can then proceed to extract the files made by the manual backups.

Extracting files:

Files created with the “tar” command can be extracted with the following command:

tar zxf myfiles.tar.gz

Importing Databases:
If you previously chose to backup all of your databases to one file, you may now need to edit the database dump to ensure that you do not overwrite the Plesk database, specifically, you'd want to remove all lines pertaining to the “psa” database. Otherwise you can then proceed to restore your MySQL databases. This is done with the following command:
mysql -uadmin -p`cat /etc/psa/.psa.shadow` < mydatabase.sql
    


Print Article
How useful was this article?
(From 5 = Very Useful to 1 = Not useful at all):
1 2 3 4 5