You don’t need to add a filter — these files are already being skipped.
If you want to exclude them still to remove eyesore from logs just do
-postgresql/.s.PGSQL.5432
-qBittorrent/config/ipc-socket
Don’t use regex, because it’s overkill, and if you do — you need to escape the .
, otherwise it matches “any symbol”.
That said, backing up storage for the running database may not be what you want to do: if the database is open consistency is not guaranteed, even if you use filesystem snapshots (which require writing pre and post backup scripts on Linux). Instead, you can either gracefully shut down the container running the database before backup and restart after (pre/post backup scripts), or use export facilities provided by the database and backup the exported data, and add database itself to exclusions.