Skip to content

Instantly share code, notes, and snippets.

@kapkaev
Created January 24, 2013 09:30
Show Gist options
  • Save kapkaev/4619127 to your computer and use it in GitHub Desktop.
Save kapkaev/4619127 to your computer and use it in GitHub Desktop.
MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error. Resque
$ redis-cli
> config set stop-writes-on-bgsave-error no
@lowkeyalex
Copy link

lowkeyalex commented Jan 21, 2024

CONFIG SET dbfilename temp.rdb

This is the way,

What u should be doing is :

# redis-cli
127.0.0.1:6379> CONFIG SET dir /data/tmp
OK
127.0.0.1:6379> CONFIG SET dbfilename temp.rdb
OK
127.0.0.1:6379> BGSAVE
Background saving started
127.0.0.1:6379>

Please Make sure /data/tmp has enough disk space.

this is the way. Thank you for solving the root problem :)

i keep getting "ERR Changing directory: No such file or directory" im not that good with ubuntu and ideas why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment