According to Redis official documentation:
LASTSAVE Return the UNIX TIME of the last DB save executed with success.
However, when I execute LASTSAVE I get the timestamp of the last restored backup instead of the last DB save executed. In other words, if I did a backup yesterday and I restore it today, LASTSAVE will give me a timestamp from today.
My problem is that I actually need the unix timestamp of when the last backup was made and not the timestamp of when the backup was restored.