• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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