Can Time Machine files be restored across different OSs?
Each mac can only run versions of macos that apple allows. 

You need to look up your older machine in a database like http://mactracker.ca/ to find out if it supports el capitan. 

There is a five release difference between the two macOS.  The new OS will use much more ram and run slow on an old machine.