Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Configuration backup

    Posted 02-03-2022 04:50
    No replies, thread closed.
    Hello all,
    Maybe somebody knows how backup/restore the "configuration"?
    For example:
    1. We created some configuration that includes DataTables (with values), Skills, Queues, Schedulers and so on. After some time of working, some parameters (values in the DataTables, times in the schedulers, ...) was changed and now we need to "restore" the "original" configuration.
    2. We created some configuration that includes DataTables (with values), Skills, Queues, Schedulers and so on. After some time, somebody (for example supervisor) deleted something (holiday scheduler or something in the DataTable, or ...), but it was only discovered after a long time and anyone remembers what it was. Required restore the "original" configuration.
    Is it possible? 

    I tried to use "CX as Code", but it has a lot of problems, maybe somebody has the other solution?

    #ArchitectureandDesign
    #Implementation
    #SystemAdministration


  • 2.  RE: Configuration backup

    Posted 02-04-2022 01:30
    No replies, thread closed.
    CX as Code is a start along with Archy, but it does not include ALL configurations.  You can always open a ticket with Genesys in the hope that their state backups have a copy of that configuration.  The Audit log should show what was changed, but it is anyone's guess when it comes to real details in those.  

    CX as Code will mature and enable more functions.  

    I like using the CLI to list all my stuff into JSON and I can schedule scrips of these into a time batch file for incremental exports of practically anything.  I would start with that using any CLI that has a list function and use JQ or templates to write to a text file.

    ------------------------------
    Robert Wakefield-Carl
    Avtex Solutions, LLC
    Contact Center Innovation Architect
    robertwc@avtex.com
    https://www.Avtex.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 3.  RE: Configuration backup

    Posted 02-06-2022 02:00
    No replies, thread closed.
    Hello Robert,

    Thanks for these ideas.
    I've tried creating all "objects" (Datasheets, Divisions, ...) via Terraform, but it has a lot of problems:
    If I want to create a Division and a Queue/s belonging to that Division, I need to do it in two steps: create the Division and only after that, in the second step, create the Queues/s, more than that if I use the "same" config files (file conf. to create a Division). I got an error that Division exists with id=xxxxxxx.

    The second "bad" thing about this solution is that the "output" JSON file has a different "format" than the "input" config files, and if I want to use "this information" to create new objects, I have to "copy" parts of this file and manually change the format (delete unnecessary lines, replace ":" with "=", etc.)

    If You have any "working"  scripts, can  You send them to me as examples?




  • 4.  RE: Configuration backup

    Posted 02-04-2022 02:43
    No replies, thread closed.
    Hey Yvgeni,


    Terraform as Robert wrote is new product but on roadmap we have few really nice new features

    In one of my projects I have X organizations working on Terraform and CI/CD env.
    Datatables are created by .tf resource and values for them are  filled from .csv files.
    each organization has their own variable file. 

    for maintenance you can use cron jobs, as an example if someone change values on DT original configuration will be restored from CI/CD.

    I think you should give terraform another change.


    ------------------------------
    Dawid Kacprzak
    Cludo Sp. z o.o.
    ------------------------------



  • 5.  RE: Configuration backup

    Posted 02-06-2022 02:08
    No replies, thread closed.
    Hello Dawid,
    I am very sorry, but I don't understand what do You mean by " CI/CD env.".
    I will be very appreciative if You will explain a little more about this solution


  • 6.  RE: Configuration backup

    Posted 02-06-2022 03:15
    No replies, thread closed.
    Hello Yvgenii, 

    CI/CD is a method to frequently deliver new functionality ( or even critical updates ) to customers by introducing automation into the stages of app development. few additional information you can find here:
    https://help.mypurecloud.com/articles/benefits-continuous-integration-continuous-deployment-ci-cd/
    https://en.wikipedia.org/wiki/CI/CD

    As an example we can say we have 4 GC organization for each organization you have one git branch.

    Developer
    Internal
    Training
    Production

    You received request to deploy new DT with values, on Developer branch you put configuration with two files:

    genesyscloud_architect_datatable.tf
    genesyscloud_architect_datatable_row.tf

    you put configuration on developer branch (github) when everything works on developer organization, you can merge configuration with next branch.

    Warm regards,
    Dawid Kacprzak

    ------------------------------
    Dawid Kacprzak
    Cludo Sp. z o.o.
    ------------------------------