-
Notifications
You must be signed in to change notification settings - Fork 497
How to backup
Wang Yuan edited this page Apr 23, 2021
·
5 revisions
Use bgsave
command to trigger Kvrocks to generate a backup, and use rsync
tool to copy all files of backup to remote server.
You can try use incremental backup if your kvrocks database doesn't be changed quickly, this way could use less network bandwidth.
This solution is similar with kvrocks resuming broken transfer based files on full synchronization. Firstly, you should get old remote backup files list and current new backup files list; Secondly, by comparing them, you will know invalid files of old remote backup and delete them; Finally, you only copy files that old remote backup doesn't have but new backup has, and store into remote server.
- Overview
- Support Commands
- Server Installation
- User Guide
- Tools
- Operations
- Cluster
- Performance & Troubleshooting
- FAQ