Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty the RDB file while changing Persistence of Redis #4435

Open
kunalgupta22 opened this issue Nov 13, 2017 · 1 comment
Open

Empty the RDB file while changing Persistence of Redis #4435

kunalgupta22 opened this issue Nov 13, 2017 · 1 comment

Comments

@kunalgupta22
Copy link

Hi,

Today I have changed redis persistence from RDB to AOF, initially everything was fine and we have 2 GB dataset in rdb format.

After changing and restarting the server, rdb file got empty without giving any warning.

As a new user, it should warn us to know about deleting the persisted snapshot data. If user does not know about it then it may cause loss in data without knowing anyone.

@badboy
Copy link
Contributor

badboy commented Nov 13, 2017

It should not do that.
Please report the exact steps you did and if possible provide the logfile.
(also please have regular backups of your data)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants