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

Creating a Shell Map

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

  1. Datastreet

    Datastreet Guest

    0
     
    Good evening:

    I have a question about creating a shell mapping file.

    I see the following in the Backup/Restore manual:

    "Execute psarestore with –s shell_map_file_template to automatically generate a file, containing all shells that were mentioned in the backup. Following is an example of this file."

    However, this command doesn't work for me when I run it. It says it requires an ip-mail and a dump. I just want to create the file.

    Is there a default file that I can use? I just want to copy a RH9 7.5.4 installation to RHEL4.

    Thanks for the help.

    Omar
     
  2. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    To be able to create shell mapping file you need to have some dump file. After that procedure is the following:

    /usr/local/psa/bin/psarestore -t -f <your_existing_dump_file> -s shells_map_file -m ip_map_file

    -t - test mode, if this key is specified then restoring procedure will not run, only the checking process;

    This command will create two files in current directory: shells_map_file, ip_map_file

    For more information you can run:

    /usr/local/psa/bin/psarestore --help

    Hope it helps...
     
Loading...