Git is not tracking changes to a .rdb redis db file?

Viewed 1574

I am experimenting, a lot of my application is controlled by what is inside the .rdb file, like configuration and content.

So I thought I would setup a repo on my server and set the .rdb file inside the repo redis-cli then CONFIG SET dir /path/to/repo/.rdb.

Then data changes as users add content and admins update settings.
Ideally I can pull this into my local branch and have the updates and everything is consistent with the server.

What I am struggling with is, Git does not seem to recognize there is a change. I add some content then do a git status on my repo with no changes detected.

Am I missing something? Is it possible and is it practical to do something like this?

1 Answers
Related