After a backup on TablePlus (documentation) with only the --format=custom option, I got the following:
Backup database 'postgres'
Dumping...
warning: there are circular foreign-key constraints on this table:
hypertable
You might not be able to restore the dump without using --disable-triggers or temporarily dropping the constraints.
Consider using a full dump instead of a --data-only dump to avoid this problem.
warning: there are circular foreign-key constraints on this table:
chunk
You might not be able to restore the dump without using --disable-triggers or temporarily dropping the constraints.
Consider using a full dump instead of a --data-only dump to avoid this problem.
I did not use the --data-only option neither on the backup, nor on the restore (I did try them also, but they fail with the same warnings).
Restore database 'postgres'
Restoring...
while PROCESSING TOC:
from TOC entry 3199; 0 16598 TABLE DATA metadata postgres
error: COPY failed for table "metadata": ERROR: duplicate key value violates unique constraint "metadata_pkey"
DETAIL: Key (key)=(exported_uuid) already exists.
CONTEXT: COPY metadata, line 1
Restore database completed
There seems to be no --disable-triggers option available and the generated dump file is binary and only 10KB.
Is there anything I can do to successfully perform the backup/dump through TablePlus or are pg_dumpall and pg_restore (question with disable triggers) the only way to go?

