content/commands/acl-save.md
When Redis is configured to use an ACL file (with the aclfile configuration
option), this command will save the currently defined ACLs from the server memory to the ACL file.
> ACL SAVE
+OK
> ACL SAVE
-ERR There was an error trying to save the ACLs. Please check the server logs for more information
| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | |
{{< multitabs id="acl-save-return-info" tab1="RESP2" tab2="RESP3" >}}
Simple string reply: OK.
The command may fail with an error for several reasons: if the file cannot be written or if the server is not configured to use an external ACL file.
-tab-sep-
Simple string reply: OK.
The command may fail with an error for several reasons: if the file cannot be written or if the server is not configured to use an external ACL file.
{{< /multitabs >}}