Planning Analytics

Planning Analytics

Get AI-infused integrated business planning

 View Only
  • 1.  Planning Analytics Model auto backup.

    Posted Wed July 22, 2020 10:02 AM

    Hello,

    I wrote the attached TI Process to generate a model backup copying the model files to a backup directory.

    This process runs on schedule every Sunday at 2:00 a.m.

    It works fine on TM1 but I have been not able to make it run on Planning Analytics on cloud.

    Any advice will be very much appreciated.

    Thanks in advance.

    Saludos.

    José Luis Señas Cuesta

    Oficina: 55 5282 7300 x 7391

    Celular: 55 5478 0371

    ibm_modeler

     


    K-C Internal Only


    This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law. If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy. Thank you.



    #PlanningAnalyticswithWatson


  • 2.  RE: Planning Analytics Model auto backup.

    Posted Thu July 23, 2020 09:49 AM
    Did you forget the attachment? I don't see it.

    ------------------------------
    Andrew Scheevel
    ------------------------------



  • 3.  RE: Planning Analytics Model auto backup.

    Posted Thu July 23, 2020 10:51 AM
      |   view attached
    Hi,
    I sent the message by email and thought the file would be included.
    Here is the file.
    Regards.

    ------------------------------
    Jose Luis Señas Cuesta
    ------------------------------

    Attachment(s)

    zip
    modelo.full.bakcup.zip   1 KB 1 version


  • 4.  RE: Planning Analytics Model auto backup.

    Posted Thu July 23, 2020 02:41 PM
    What value is sDatPath = CellGetS( cCubParam, 'Item', cParam ); returning at process runtime?

    ------------------------------
    Andrew Scheevel
    ------------------------------



  • 5.  RE: Planning Analytics Model auto backup.

    Posted Thu July 23, 2020 06:00 PM
    Hi Andrew,
    sDatPath = CellGetS( cCubParam, 'Item', cParam ) returns de TM1 data directory (DataBaseDirectory in tm1s.cfg).
    Regards.

    Jose Luis.
    .

    ------------------------------
    Jose Luis Señas Cuesta
    ------------------------------



  • 6.  RE: Planning Analytics Model auto backup.

    Posted Fri July 24, 2020 08:30 AM
    Edited by System Admin Fri January 20, 2023 04:49 PM
    I believe your issue is the path you are passing to your BAT process and the string you use to call the BAT process itself.

    The data directory in the TM1S.CFG on the cloud is:
    DataBaseDirectory=Data

    But when the server calls the external BAT file the starting point on the serer will be the data directory itself. So on a PA Server on the cloud you need to use a path that is relative to the server data directory 

    My directory structure on the cloud looks like this:

    The directories I use in TI process to access these directories looks like this:

    Hope this helps.




    ------------------------------
    Daniel Bernatchez
    Clear Apex LLC
    ------------------------------