summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/acl-save.md
blob: 17580c69ac4b533d5ad5d7cab789aacf3c49f776 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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.

@return

@simple-string-reply: `OK` on success.

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.

@examples

```
> ACL SAVE
+OK

> ACL SAVE
-ERR There was an error trying to save the ACLs. Please check the server logs for more information
```