Database backup includes people, assets, transactions, licensing, users, and settings. Site code backup includes the hosted app files the browser can read.
For a complete rebuild, also keep the Firebase project folder with rules, indexes, functions, and package files.
