" /> Braindump: mai 2007 Archives

« octobre 2006 | Main | octobre 2007 »

mai 17, 2007

How to extract a file from Plesk 8.1.1 backup

Mpack tool is required in this case to work with MIME files. I have FC4 and got this package from here:

https://sourceforge.net/project/sho...lease_id=137934

You can find there as RPM as well as source RPM packages. So instructions are simple:

Create an empty directory to restore the back up file:

  1. mkdir recover
  2. cd recover

Create ungzipped copy of the backup in the current directory.
# gunzip < /PATH_TO_BACKUP/BACKUP_FILE > domain-backup.mime

Run munpack to extract content of directories from the backup file
# munpack domain-backup.mime
# ls -al

Untar the needed directory. For example if you need to restore httpdocs:

#mkdir httpdocs/
# tar xvf DOMAIN.TLD.httpdocs -C httpdocs/

In destination directory - httpdocs you should get all files.