Questions tagged [redis-rdb]

4 questions
4
votes
1 answer

How do I back up Redis sever RDB and AOF files for recovery to ensure minimal data loss?

Purpose: I am trying to make backup copies of both dump.rdb every X time and appendonly.aof every Y time so if the files get corrupted for whatever reason (or even just AOF's appendonly.aof file) I can restore my data from the dump.rdb.backup…
lisa188
  • 41
  • 1
  • 3
1
vote
2 answers

Splitting a Redis RDB file

Currently I'm using redis on a EC2 machine, with 60G RAM without any slaves, but as my data grows I will need more memory. I was thinking to migrate to 2 x 60G machines and split the already existing data between the two. Is there any tool for…
maephisto
  • 4,952
  • 11
  • 53
  • 73
0
votes
1 answer

Is RDB preferable over AOF if datasize if large in Redis

I am running a Redis instance with maxmemory and usage of around 25GB. It is being run as Statefulset in Kubernetes. As the redis-pod can get scheduled to any of the boxes, and can get restarted any time I AOF backup over RDB. But, yesterday the…
kadamb
  • 1,532
  • 3
  • 29
  • 55
0
votes
1 answer

RDB by master and AOF by replicas

How can we configure the REDIS in such way that the master create.manage the RDB file and the replicas can create/manage the AOF file. This could shift the burden from the master to replicas to create/manage both the files/database.
raj
  • 1