• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • 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.

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: 4
  • plesk-restore2.png
    plesk-restore2.png
    514 KB · Views: 3
Back
Top