• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How to extract webfiles and databases from Plesk Backups.

PaddingtonC

Basic Pleskian
My Plesk backups a FTPted to a backup server where I have been trying to extract the web-files and database according to the 2nd method in KB http://kb.parallels.com/en/1757

My backup file is a tar file as shown :
backup_1206042321.tar: POSIX tar archive (GNU)

This makes it difficult to proceed with the steps below because munpack gives an error nothing to read from standard input.


]# zcat DUMP_FILE.gz > DUMP_FILE
# cat DUMP_FILE | munpack

In result you get the set of tar and sql files that contain domains' directories and databases. Untar the needed directory. For example if you need to restore the httpdocs folder for the DOMAIN.TLD domain:
# tar xvf DOMAIN.TLD.htdocs


How can I extract webfiles and databases from the the .tgz Plesk backup?
 
From your SHELL:

cd /var/lib/psa/dumps

Then,

ftp yourftpserver.com
get backupfile.tar.gz
quit

Then,

tar xvfz filename.tar.gz

Thereafter, you can go to the plesk admin panel to restore each domain independently or you can navigate to the respective folders through shell to get the db and the rest of the files.
 
Back
Top