Does Time Machine back up junk files and viruses along with everything else?
Time Machine backs up everything. It is an indiscriminate backup device. It doesn’t know a virus from a Word document or the Microsoft Word application itself. It doesn’t know “junk” from an important email from your boss.
With that having been said, if you reinstall your system and then recover files from Time Machine, there is a strong possibility at least some viruses which disguise themselves as System files will not be copied, since the restore process will correctly assume the files on your Mac are newer than the ones on the backup drive and not copy them.
If you are worried about viruses or malware, simply practice safe hex. Don’t download things from sites you don’t know or trust. Look at the URL before you download. The site might look like it is from Adobe, or Apple, or Google, or Microsoft but if the URL doesn’t clearly start with something like the trusted site followed by “.com” you should’t trust it. Also, macOS has a great anti-virus utility built in called xProtect. It is deep down in the system, so it isn’t something you run yourself, but all those security updates? That’s what a lot of them are updating.
Apple ID, iCloud and backups Security and privacyIf this helped you, consider buying me a slice of pizza to help keep the site running. If this solved a big problem for you, consider buying me the whole pie!
Need help with this?
I help people in New Orleans and online with Apple gear, websites and more. Contact me or see more answers in the Knowledgebase.