-
Notifications
You must be signed in to change notification settings - Fork 23.8k
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
Redis Cluster: Node Backup & Restore #2463
Comments
This is planned. The idea is to have, more or less, redis-trib able to do the following:
Basically the backup will be a directory, not a file. Would be great to have it now, but no time, but, this does not need to wait for v2. We'll get it in the course of Redis 3.0.x. |
Sounds good and the prioritization for a later release makes sense. |
Fortunately for this specific feature we don't need to wait for the next release, since it is in the tools space, so there will be no need to touch Redis Cluster itself to start to provide support for backups. Given that's an operational big concern hopefully this will be addressed in the course of 3.0.x by back porting the feature from 3.2.0, however currently no exact scheduling. |
what about AOF files? will this proposal consider them too? |
@antirez Just wondering if Redis Cluster Backup feature is available now or do you have any approximate time frame on when this will be ready for Production use? |
I wonder if this feature will be released in the near future? |
@antirez ping |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
1 similar comment
+1 |
I think we can easily dump & zip all the cluster data to do a backup, and put the data back then restart the cluster to restore it. We will need a script to automate it.. |
Such backup without downtime will be inconsistent. |
Just backup from the slave, not the master |
It's about sharding and point-in-time snapshots across multiple nodes. |
Backups currently happen on a per node basis, so care has to be taken to ensure they do not all run BGSAVE/SAVE at the same time for performance.
Scripting also has to be in place to manually extract the RDB files and copy them away somewhere.
You also need to backup the nodes.conf file to have a chance of doing a restore.
It would be great if this was able to be triggered in a central manner.
Restore is also tricky in that it requires knowledge of the cluster topology. It sounds like you have to recreate the cluster exactly as it was to be able to restore (read drop in) the RDB files you backed up previously.
The text was updated successfully, but these errors were encountered: