If your backup file has squid config on it, a package reinstall will get squid back with your config.
Yes, of course. But I don't understand why the package has been removed while restoring a copy. And why only such package while other packages remains where they are.