PDA

View Full Version : Extracting Plesk backups


Hvu
01-18-2006, 03:05 AM
Hey guys. learned something new today so wanted to share.

Plesk doesnt use standard tar.gz file backups which can be annoying when you need just like one or two files. So here how to extract.

1. Download and install ripMIME
http://www.pldaniels.com/ripmime/downloads.php

2. Make a directory where you want to work with. Lets say backuprestore

3. Once installed lets extract the file. Get your backup file ready, if its compressed, then decompress it. Lets say my file is called backup-01-18-05-domain.com

Run ripMIME

ripmime -i backup-01-18-05-domain.com -d backuprestore


4. Now the files are in seperate files that need to be untar. So Untar them

tar -ztvf backuprestore/*


5. Now its extracted and you can access your files.

eaverag
03-15-2006, 06:49 AM
Hi,
I am trying to do the same with a full Plesk copy and after the steps you describe I got 9 files called :

-rw-rw-r-- 1 jlmartinez jlmartinez 46 mar 15 11:18 textfile0
-rw-rw-r-- 1 jlmartinez jlmartinez 20061 mar 15 11:18 textfile1
-rw-rw-r-- 1 jlmartinez jlmartinez 1760 mar 15 11:18 textfile2
-rw-rw-r-- 1 jlmartinez jlmartinez 1887 mar 15 11:18 textfile3
-rw-rw-r-- 1 jlmartinez jlmartinez 8642560 mar 15 11:18 textfile4
-rw-rw-r-- 1 jlmartinez jlmartinez 1044480 mar 15 11:18 textfile5
-rw-rw-r-- 1 jlmartinez jlmartinez 20480 mar 15 11:18 textfile6
-rw-rw-r-- 1 jlmartinez jlmartinez 10240 mar 15 11:18 textfile7
-rw-rw-r-- 1 jlmartinez jlmartinez 42233 mar 15 11:18 textfile8

The I tried, as you said, to use the "tar" command to extract all or only specific files from the backup files present. But just 4 to 7 worked for the tar command. But the Mysql database Dump was not there. Do you know how may I extract the database Dump?.

Regards, Kike