• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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