File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ Usage of ./bin/redis-dump-go:
31
31
Server host (default "127.0.0.1")
32
32
-n int
33
33
Parallel workers (default 10)
34
+ -noscan
35
+ Use KEYS * instead of SCAN - for Redis <=2.8
34
36
-output string
35
37
Output type - can be resp or commands (default "resp")
36
38
-port int
@@ -43,7 +45,7 @@ Database 0: 9 element dumped
43
45
Database 1: 1 element dumped
44
46
```
45
47
46
- For password-protected Redis servers, set the shell variable REDISDUMPGO_AUTH :
48
+ For password-protected Redis servers, set the shell variable REDISDUMPGO \_ AUTH :
47
49
48
50
```
49
51
$ export REDISDUMPGO_AUTH=myRedisPassword
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ func realMain() int {
51
51
host := flag .String ("host" , "127.0.0.1" , "Server host" )
52
52
port := flag .Int ("port" , 6379 , "Server port" )
53
53
db := flag .Uint ("db" , 0 , "only dump this database (default: all databases)" )
54
- filter := flag .String ("filter" , "*" , "key filter to use" )
55
- noscan := flag .Bool ("noscan" , false , "use KEYS * instead of SCAN - for Redis <=2.8" )
54
+ filter := flag .String ("filter" , "*" , "Key filter to use" )
55
+ noscan := flag .Bool ("noscan" , false , "Use KEYS * instead of SCAN - for Redis <=2.8" )
56
56
nWorkers := flag .Int ("n" , 10 , "Parallel workers" )
57
57
withTTL := flag .Bool ("ttl" , true , "Preserve Keys TTL" )
58
58
output := flag .String ("output" , "resp" , "Output type - can be resp or commands" )
You can’t perform that action at this time.
0 commit comments