• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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