Share this page

# kSync.sh

You can use kSync.sh to manage hotfixes and customizations as well as restore the current PPM file system.

In this topic:

## When to use kSync.sh

You can use kSync.sh in any of the following scenarios:

- Any hotfix or customization is disrupt.
- A PPM node is down and some PPM code files might be disrupt.
- Files in the customization or content folder are modified.

## How to use kSync.sh

Run `sh kSync.sh` in the <`PPM_Home>/bin` directory. You can run this command in either interactive mode or silent mode.

### Run kSync.sh in interactive mode

Run `sh kSync.sh` without any parameter attached. And follow the on-screen instructions to enter the specific number for the specific action.

For example, you enter `1` to merge hotfixes, and `2` to merge customizations.

### Run kSync.sh in silent mode

Run `sh kSync.sh` with specific parameters attached. To run the command in silent mode, you should first set the environment variable `DB_PASSWORD`.

Parameter | Description
--- | ---
-a a | -a a ="-a r" + "-a t" + "-a c" + "-a h" Does the following in the order below: Restore the current PPM file system to the preconfigured PPM code file system (backed up in the `_OOTB` folder). Merge contents of the content folder to the PPM code file system. Merge contents of the customization folder to the PPM code file system. Merge the hotfixes you previously deployed (stored in the `ppm_hotfix` folder) to the PPM code file system.
-a r | Restores the current PPM file system to the preconfigured PPM code file system (backed up in the `_OOTB` folder).
-a t | Merges contents of the content folder to the PPM code file system. Note: If you only deploy the `content` folder, you can run this command while the PPM server is still running. And you do not need to restart the server for the changes to take effect, unless the files that you deployed are cached by PPM or are JSPs that need to be recompiled with the `kJSPCompiler.sh` command.
-a c | Merges contents of the customization folder to the PPM code file system.
-a h | Merges the hotfixes you previously deployed (stored in the `ppm_hotfix` folder) to the PPM code file system. Note: This command does not deploy a hotfix you did not deploy before. To deploy a hotfix, you should use the `sh kDeploy.sh -hotfix` command.
-d, or --dbpassword | Passes the database password.

https://admhelp.microfocus.com PPM 8942
Tips to improve your search results... OpenText™ Project and Portfolio Management Help Center PPM Help 26.2-26.3 All View Local Help Center View Online Help Center Version: