Manually restoring macOS System folder
I am not sure how you are restoring from backup but you can't replace active system files, nor would you want to.

The preferred way to restore a Mac would be to install/reinstall the operating system from whatever source you have. Once that is done use your Time Machine backup to then restore your files, applications and system settings.

The latter would be those files that the system would change to reflect preferences, settings and other changes you have made to macOS. Some of which may be located inside the System folder(s).