I need to send myself a database backup from a remote docker container running Ubuntu. I ssh into the container and run:
uuencode dbexport.pgsql | mail -s "DB" email@example.com
It seems to hang forever so I run only the first part:
Which also seems to hang forever. Any suggestions to debug this?