• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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