89

I'm reading the Redis documentation on persistence here - https://redis.io/topics/persistence - and am wondering what the acronyms AOF and RDB stand for. Thanks! :)

asherbret
  • 5,439
  • 4
  • 38
  • 58
Simon Suh
  • 10,599
  • 25
  • 86
  • 110

2 Answers2

121

AOF stands for Append Only File. It's the change-log style persistent format.

RDB is for Redis Database File. It's the snapshot style persistence format.

Tague Griffith
  • 3,963
  • 2
  • 20
  • 24
64

I would like to make an update @Tague's answer (for RDB) and also adding a basic info for each.
Both of these are options if one has to choose persistence for Redis data.

RDB is for Redis Database Backup file.
RDB file is a dump of all user data stored in an internal, compressed serialization format at a particular timestamp which is used for point-in-time recovery (recovery from a timestamp).

AOF stands for Append Only File.
AOF is actually a persistence technique in which an RDB file is generated once and all the data is appended to it as it comes.

Teoman shipahi
  • 47,454
  • 15
  • 134
  • 158
swayamraina
  • 2,958
  • 26
  • 28