If you say using SQLite, there is always risk of losing that data file in disk right. How is that managed. is this a dumb question , which PostgreSQL do not ??
Of course you still need backup for other incidents.
My understanding of the situation is sqlite's solution is a bit more low level than postgresql but should be workable.
There are lower-level approaches built-in to SQLite, such as the Backup API, but there is at least one 3rd party project, Litestream, which does streaming WAL backups too.