• 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.

IP Mapping using psarestore

D

Datastreet

Guest
How do I create an IP mapping template using psadump. The backup and restore documentation says to use psarestore -m ip_map

but I always get the following error:

[root@web05 bin]# ./psarestore -m ip-file.txt
Option -f <dump_file> is required.
Option -s <shells_map_file> is required.
Usage: ./psarestore [-h] [-L] [-t] [-V vhosts_dir] -f <dump_file> -m <ip_map_file> -s <shells_map_file> [-c clients_map_file] [options]


How do I create the file without it trying to restore a backup. I know it's a dumb question.

Thanks
 
You don't need to use psadump - use the reconfigurator.

#perl /usr/local/psa/bin/reconfigurator.pl file_name

It will create a template for you. Then you can edit the template and run the command again to make the changes.
 
Back
Top