You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The official document discourages using AOF alone for backup & restore.
The document says one of benefits of using both RDB and AOF mechanisms is faster restarts.
However, AOF with aof-preamble is already creating & using rdb file as AOF base, so I think using AOF alone can make the same effect of using RDB mechanism.
So my question is, when both RDB and AOF are enabled, can AOF restore based on the latest rdb file of dump.rdb created by RDB mechanism or appendonly.aof.*.base.rdb created by AOF mechanism ?
For example, AOF rewrites happened 3 hours ago, so base.rdb file is created at that time, and RDB replaced dump.rdb file 5 minutes ago. Then what I can expect when restarting is dumping 5-min aged dump.rdb file to the memory and executing commands in incr.aof file from the moment dump.rdb is written ?
If that's not the case, I don't think using both RDB and AOF at the same time adds any benefits.
The text was updated successfully, but these errors were encountered:
Hello,
The official document discourages using AOF alone for backup & restore.
The document says one of benefits of using both RDB and AOF mechanisms is faster restarts.
However, AOF with aof-preamble is already creating & using rdb file as AOF base, so I think using AOF alone can make the same effect of using RDB mechanism.
So my question is, when both RDB and AOF are enabled, can AOF restore based on the latest rdb file of
dump.rdb
created by RDB mechanism orappendonly.aof.*.base.rdb
created by AOF mechanism ?For example, AOF rewrites happened 3 hours ago, so
base.rdb
file is created at that time, and RDB replaceddump.rdb
file 5 minutes ago. Then what I can expect when restarting is dumping 5-min ageddump.rdb
file to the memory and executing commands inincr.aof
file from the momentdump.rdb
is written ?If that's not the case, I don't think using both RDB and AOF at the same time adds any benefits.
The text was updated successfully, but these errors were encountered: