1. Go to the <BASEDIR>/smarts/bin folder of your target installation, and type the following command:

    ./sm_perl sm_deploy.pl --install=<BASEDIR>/smarts --create=<archive-name.tar> --sitemod==<BASEDIR>/smarts/local
    
  2. The utility identifies the files with customizations from the local directory under <BASEDIR>/smarts directory of the installation that need to be copied to the deployment package. Local directory can be local1, local2.

  3. The utility copies the files from the local directory to the deployment backup directory .deploy.bkp<pdt>.<version> under <BASEDIR>/smarts, archives these files to a specified archive file and then deletes the backup directory.