A static website may consist almost entirely of files, while a dynamic website usually depends on both files and a database.
For a static site, a file or Home Directory backup may cover the essential content. For WordPress, ecommerce, forums, and many CMS applications, pair the website files with the corresponding database backup.
Understanding where the application stores its data helps you choose the smallest backup that still provides a complete recovery path.