Support Center > Search Results > SecureKnowledge Details
The cma_migrate script deletes the source directory content when wrong path is used
Symptoms
  • The cma_migrate script deletes the source directory content when wrong path is used.

    Example:

    When running the command without "/" after /var/log:

    cma_migrate /var/log <File name>.tgz /opt/CPmds-R77/customers/<CMA NAME>/CPsuite-R77/fw1/


    Script fails with "Error: Please specify absolute paths only" error, but also removes the content of /var/log directory.


    The first parameter should be /var/log/<File name>.tgz and not /var/log <File name>.tgz
Solution
Note: To view this solution you need to Sign In .