Restoring damaged files from local backups