> What is the safest way to backup an RDB file in Redis?
In Redis .rdb files can be copied while the server is running without
any need of lock. No corruption is possible since the new file is
always saved in a temp location and atomically rename(2)d to the new
location.
So just use "cp" :)
Cheers,
Salvatore
> Thanks,
> T
>
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to redis-db+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/redis-db?hl=en.
>
>
--
Salvatore 'antirez' Sanfilippo
http://invece.org
"Once you have something that grows faster than education grows,
you’re always going to get a pop culture.", Alan Kay
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to redis-db+u...@googlegroups.com.