Use the following steps to migrate customizations on remote hosts:
-
Prepare to archive the customizations made in the old installation into a tar or zip archive by copying the following files:
-
Perl packages: Copy migrateperlpkg.zip from the BASEDIR/smarts/perl directory in the new installation to the BASEDIR/smarts/local directory of the old installation. For Linux and CentOS, use the unzip migrateperlpkg.zip command.
-
sm_migrate.pl utility: Copy this file from the BASEDIR/smarts/bin directory of the new installation to the BASEDIR/smarts/bin directory of your old installation.
-
-
-
Go to the BASEDIR/smarts/bin directory of your old installation and enter the following command on one line to generate an archive of the customizations:
sm_perl sm_migrate.pl --old=<BASEDIR>/smarts (old installation) --archive=<BASEDIR>/smarts/<tar or zip file to contain customizations> ----sitemod==<BASEDIR>\smarts\local1; =<BASEDIR>\smarts\local2