L
L
laptehov2018-06-06 12:56:22
Redis
laptehov, 2018-06-06 12:56:22

What tools to backup Redis RDB?

I am not an admin.
There is a task to backup the Redis database. The base is big.
Running one huge file over the network every day is not an option.
What tool to choose to calculate the difference between two copies of the database, make a delta (as in git) and already form it as a backup?
I may have misread the doc, but rsync, rsnapshot, rdiff-backup only determine which files have been changed/added. And already considers them as a backup.
But in my case there is only one file. And it naturally changes every day.
Help to understand and advise the best solution in your opinion.
Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Aksentiev, 2018-06-06
@Sanasol

radish can't do incremental backups https://github.com/antirez/redis/issues/4070
I'm almost sure that it changes quite a lot and especially the diff will not help here, or it will be very large.

R
Roman Mirilaczvili, 2018-06-06
@2ord

The order might be:

  1. backing up locally
  2. backing up a copy using deduplication (bup, ZBackup, attic, etc.) to a remote server. Subsequent backups will retain only the delta, not the entire copy.
  3. delete local copy

L
laptehov, 2020-09-08
@laptehov

По итогу заюзал xdelta для подсчета разницы между двумя бинарными rdb файлами.
Сама база около 7 Гб, ежедневная дельта выходит около 30мб, мне нормально.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question