• 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

Unpack Plesk 8.2 Backup without pre9-backup-convert?

V

ViolaG

Guest
Hi

Please can you help?

I have a problem with trying to recover data from a Plesk 8.2 backup file to Plesk 9.2.

The problem background is this:

1. I created a backup file in Plesk 8.2 using pleskbackup all.
2. When my hard drives died and my Plesk installation was upgraded with the new hard drives, I tried to convert the backup to Plesk 9.2 using pre9-backup-convert.
3. The conversion failed, but I was left with a set of .tgz files, which I have been unpacking and recovering data from.

My problem is this:

One of my domains had a directory structure like this:
clientdownload (client downloads directory)
httpdocs
other directories ...
(ie the client downloads directory is on the same level as httpdocs).

The .tgz files do not seem to include the client downloads directory.

I suspect that this is because this is a non-standard directory, so pre9-backup-convert is not converting it (please feel free to correct me if you think that this is not the case).

My question is:

Is there are way that I can unpack the Plesk 8.2 backup file to see what is there without using pre9-backup-convert?

Thanks in advance for any help.

Viola
 
It would be very useful if you post here errors which you have received when you have tried convert backup to 9.x format.
 
Hi IgorG

Thanks for your reply.

My input to convert the backup file was:

# /usr/local/psa/bin/pre9-backup-convert convert --directory=/var/lib/psa/dumps/backup_091215-000001

The output was:

Runtime error: Backup file '--directory=/var/lib/psa/dumps/backup_091215-000001' does not exist
[root@ip-208-109-125-102 dumps]# /usr/local/psa/bin/pre9-backup-convert convert --directory=/var/lib/psa/dumps backup_091215-000001
sh: hr@<domain>/admin: No such file or directory
gzip: /var/lib/psa/dumps/clients/<clientname>/domains/<domain>/mailnames/admin: No such file or directory
sh: hr@<domain>.attach: command not found
sh: hr@<domain>/converted_admin: No such file or directory
sh: hr@<domain>_attaches_1001122343.tgz: command not found
backup_sign: Could not find xml header
System error 29: Illegal seek
sh: hr@<domain>/converted_admin: No such file or directory
sh: hr@<domain>/converted_admin: No such file or directory
sh: hr@<domain>_info_1001122343.xml.tmp: command not found
sh: hr@<domain>_info_1001122343.xml: command not found
Runtime error: [Errno 2] No such file or directory: '/var/lib/psa/dumps/clients/<clientname>/domains/<domain>/mailnames/admin&hr@<domain>/converted_admin&hr@<domain>_info_1001122343.xml'


I think that it didn't like the email address "admin&hr@<domain>".

But I've already manually restored a lot of this, so the reason for the failure is academic.

My main concern is about finding out whether or not a particular directory was backed up.

I found the utility "backup_unpack" which I tried as well. This did not show the clientdownload directory either.

My concern is this:

1) If Plesk backup backs up all directories that are on the same level as httpdocs (as part of a domain backup), how do I recover them?
2) If Plesk backup does not back up all directories that are on the same level as httpdocs (as part of a domain backup), then indicates a problem with Plesk backup.

Thanks for your help.
 
Back
Top