by Ken Task.
As you know don't use pg but if the pg commands are like MySQL and MariaDB, then I see an error in your command.
The tail end:
> /home/backup/name of dumb file
should be
< /home/backup/name of dumb file
https://www.postgresql.org/docs/current/backup-dump.html#BACKUP-DUMP-RESTORE
'SoS', Ken