Good day, to create a backup of Postgres database using the command
networks pg_dump > /DATA/backups/gitlab'date +%d-%m-%Y`
Everything works as desired, but if I put this command in cron, this command drops the mail in /var/mail/postgres with the error text
/bin/sh: 1: Syntax error: EOF in backquote substitution
I understand that something is not right in the syntax, but how to fix this error? Thank you in advance all for the help