GitHub user ltagliamonte-dd edited a comment on the discussion: About backup 
and recovery

Hi there!
I'm trying to understand better how the incremental backup works, can i please 
get an example on how to implement it?
when `BGSAVE` a full backup is created, how can i later create only the 
incremental part?
after `BGSAVE` I get:
```
ls -1 backup/
000015.sst
000016.log
000020.sst
CURRENT
MANIFEST-000017
OPTIONS-000019
```
add more data and run `BGSAVE` again i get:
```
ls -1 backup
000015.sst
000020.sst
000022.sst
CURRENT
MANIFEST-000017
OPTIONS-000019
```

`000016.log` is gone and `000022.sst` got created how am i supposed to generate 
a "diff"?
is there a way to force compaction and generate all sst tables?
I guess I have to execute `COMPACT` and then `BGSAVE`?

GitHub link: 
https://github.com/apache/kvrocks/discussions/1357#discussioncomment-9347080

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to