• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

pleskrestore and tar files

SacAutos

Regular Pleskian
Today I made a huge error. I wanted to delete a subscription for a customer and instead clicked on the remove button from the top of the screen. That wiped out the entire customer. (This really needs to be fixed as this isn't the first time I've done this. A double-confirmation step or a change in the button look would really be nice to eliminate confusion.)

Anyway, I was lucky in that a backup had just completed hours before. However, it was out to an external FTP site. So I brought the tar file back to the server and unpacked it. But I'm stuck from there. Whatever I do, I can't get the domains/subscriptions restored form the backups. This is making me nuts!! Anybody else have experience with this?
 
Last edited:
Here's where I'm at so far. (This is all CentOS 6, by the way.) I unpacked the tar file in /var/lib/psa/dumps/

I see that I've got a domains folder and eight directories beneath it - one for each of my domains.

I cd into domains/xxx.com . I execute this command:

/usr/local/psa/bin/pleskrestore --restore weekly_xxx.com_info_1403060141.xml -level domains

But nothing happens! No domain restored. What am I doing wrong??
 
migration.log file

The restore creates a file called migration.log . Here's what it looks like:

[2014-03-06 12:25:39.867|22929] INFO: backup_sign started : /usr/local/psa/admin/sbin/backup_sign verify /usr/local/psa/PMM/rsessions/2014030612253996/dump/info.xml
[2014-03-06 12:25:39.870|22929] INFO: backup_sign finished. Exit code: 0

The backup file is valid. I used the pleskrestore tool to confirm that. Help!!
 
Fortunately, I figured this one out on my own. What has to be done is this:

Gather the tar file parts together into a single container file
Move the tar file to /var/lib/psa/dumps/
Uncompress using tar xvf <archive>.tar
Restore using /usr/local/psa/bin/pleskrestore --restore <container>.xml
-level might be needed for a specific domain

I'm so relieved to get this back online. The documentation is rather thin on backup/restore, particularly with regard to tar files...
 
Back
Top