Hello Dilip-
I’m sorry to hear about the error, we’ll be happy to help. There’s a couple things we should check to find out why you’re getting this error even with public permissions (by the way, be sure to revert your permissions to a safe level as soon as possible, 777 is very dangerous because it enables the public to write to your website).
First, navigate to Total Upkeep > Tools > Logs and look for the log file that looks like restore-######.log with a timestamp that matches your failed restoration time. Copy and paste that log, and reply back here with it.
Next, navigate to Total Upkeep > Preflight Check and copy and paste the section Backup directory & permissions here so we can check that as well.