Backup of Live ODM version

Backup requirements: I want to make sure I’ve got a full backup of my Webodm work. As I understand it, I should only need to copy the \webodm directory and then copy that back onto a fresh install. Or, is there also a requirement to backup a SQL database, and if so, how would I go about doing that?

Note: this is for a LIveODM install on a dedicated computer, no Docker

Also trying to use pg_dump to copy PostgreSQL database. Trying ‘pg_dump -h --username=odm -W webodm_sql >test.gz’ and variations; can’t figure out or see in docs postgressql database username and password