Error when running snapshot

My site is not completing full database backups + files. Always gives this error message: "504 bad gateway NGINX"

Can you help me?