My Mac keeps logging me out when I leave it for an hour

which is really annoying when trying to run backups or file copies taking several hours overnight. Fix it by turning off the "Log out after XXX minutes of inactivity" setting in:

System Preferences -> Security -> Privacy Tab -> Advanced Button

Log out after XXX minutes setting