kSync.sh
You can use kSync.sh to manage hotfixes and customizations as well as restore the current PPM file system.
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:
|
-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 |
-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 Note: This command does not deploy a hotfix you did not deploy before. To deploy a hotfix, you should use the |
-d, or --dbpassword |
Passes the database password. |