• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Creating a Shell Map

D

Datastreet

Guest
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
 
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...
 
Back
Top