• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Question pleskrestore: how use .xml and .tzst files for just one domain, using command line

Paul Larson

Basic Pleskian
Server operating system version
Ubuntu 22.04.5 LTS
Plesk version and microupdate number
18.0.64 Update #1
Hi! I've read numerous articles/docs on using "pleskrestore" command. Most refer to a simple, single file, such as mydomain.zip.

I have a full /var/lib/psa/dumps/domains directory for a series of domains rescued from a prior server.

I wasn't sure how to match the pleskrestore command given a source directory of dozens of files, due in part for daily/incremental backups.

I feel the solution is right under my nose but wasn't quite sure how to accomplish a restore from CLI.

Example directory contents:

(info)
Code:
-rw-r----- 1 dev psacln     31735 Nov  4  2022 backup_info_2211030004_2211040004.xml
-rw-r----- 1 dev psacln     31935 Nov  5  2022 backup_info_2211030004_2211050004.xml
-rw-r----- 1 dev psacln     31935 Nov  6  2022 backup_info_2211030004_2211060004.xml

(tzst)
Code:
-rw-r----- 1 dev psacln 168126654 Nov  4  2022 backup_user-data_2211030004_2211040004.tzst
-rw-r----- 1 dev psacln        34 Nov  5  2022 backup_user-data_2211030004_2211050004.tzst
-rw-r----- 1 dev psacln        34 Nov  6  2022 backup_user-data_2211030004_2211060004.tzst

I gather the timestamp is key, e.g. backup_info_2211240004 for 2022/11/24.

But, I wasn't sure of 'pleskrestore' wanted the base info .xml file as input, or something different. Thanks!
 

Attachments

  • plesk-restore.png
    plesk-restore.png
    514 KB · Views: 3
  • plesk-restore2.png
    plesk-restore2.png
    514 KB · Views: 2
Back
Top