• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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