You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
redis-cli -h $hostname -p $port CONFIG SET dir $redis_dir> /dev/null
24
+
25
+
logger "saidump.sh: [2] SAVE."
26
+
redis-cli -h $hostname -p $port SAVE > /dev/null
27
+
28
+
logger "saidump.sh: [3] Run rdb command to convert the dump files into JSON files."
29
+
rdb --command json $redis_dir/dump.rdb | tee $redis_dir/dump.json > /dev/null
30
+
31
+
logger "saidump.sh: [4] Run saidump -r to update the JSON files' format as same as the saidump before. Then we can get the saidump's result in standard output."
32
+
saidump -r $redis_dir/dump.json -m 100
33
+
34
+
logger "saidump.sh: [5] Clear the temporary files."
0 commit comments