ssh user@adress -p номер_порта
lxc shell name_stand
mysqldump -u USERNAME DBNAME -p > /tmp/dump.sql
lxc exec namestand -- mysqldump -u USERNAME DBNAME -p > /tmp/dump.sql
lxc file pull name_stand/tmp/dump.sql /path/to/your/local/dump/file.sql
mysqldump -uroot -ppass -P3386 dbname > dbname.sql
mysqldump --help