1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

IP Mapping using psarestore

Discussion in 'Plesk for Linux - 8.x and Older' started by Datastreet, Dec 1, 2005.

  1. Datastreet

    Datastreet Guest

    0
     
    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
     
  2. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    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.
     
  3. Datastreet

    Datastreet Guest

    0
     
    Thank you very much!
     
Loading...