Testing my Redis backups

Hi,

I’m new to Redis and I’m currently in the process of setting up automated backup scripts. I followed the recommendations and have scripts that take hourly and daily copies and copy them to a safe place.

I have some experience in MS SQL server, and in that world it is best practice to take your backups and restore them somewhere to verify that the backup file will work in case you actually need it (i.e. that no corruption had occurred and the backup was successful).

Is there a process or a practice such as this for Redis? In case there was some corruption in the file transfer, it would be good to validate the backup.

Thanks!

Hi Startup,

Yes, testing the restoration of backups is always considered good practice. How you test that may depending on how much data you’re backing up (i.e., the size of your Redis deployment). You’ll definitely need another deployment that’s adequate to it.

Best,
Kyle