pg_dump --exclude-table not working on one specific table
Including the schema fixed it. The other tables were in the public schema but article_plain was in a schema of it's own:
postgres@server:~/bin$ pg_dump -s --clean clientportal -T otrs.article_plain -T callstats -T cdrviewer_cdr -T calls -T cdrviewer_datasource -T django_sesssion -T django_admin_log | grep article_plain
DROP SEQUENCE otrs.article_plain_id_seq;
-- Name: article_plain_id_seq; Type: SEQUENCE; Schema: otrs; Owner: sg1admin
CREATE SEQUENCE article_plain_id_seq
ALTER TABLE article_plain_id_seq OWNER TO sg1admin;
-- Name: article_plain_id_seq; Type: ACL; Schema: otrs; Owner: sg1admin
GRANT ALL ON SEQUENCE article_plain_id_seq TO sg1;