How to set persisistence in redis cluster after cluster creation

Desmond Sindatry 26 Reputation points
2024-04-21T00:22:37.8733333+00:00

How to set persistence for an existing cluster using azure cli

This is what I tried

az redisenterprise update --name test --resource-group test-dev --set --persistence aof-enabled=true aof-frequency="1s" unrecognized arguments: --set --persistence aof-enabled=true aof-frequency=1s

az redisenterprise update --name test --resource-group test-dev --set redisConfiguration.0.module=aof --set --persistence aof-enabled=true aof-frequency="1s"

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
216 questions
{count} votes

1 answer

Sort by: Most helpful
  1. GeethaThatipatri-MSFT 27,642 Reputation points Microsoft Employee
    2024-04-22T19:18:25.3433333+00:00

    @Desmond Sindatry I think you’ll need to use the “az redisenterprise database update” command: as provided in the document. az redisenterprise database | Microsoft Learn

    However, the docs are not clear about the expected format of the arguments to the “--persistence” , please let me know if you find any issue.

    Regards

    Geetha

    0 comments No comments