If you want to execute logical backups using an alternative to mysqldump that works with parallel threads giving faster execution times mydumper is the correct tool.
In order to use mydumper and myloader you can use the following sample commands:
For dumping/exporting database:
mydumper -u <username> -p <password> -B <database name> -d /path/to/dump
For importing database (for percona or master-master replication):
myloader -u <username> -p <password> -B <database name> -d /dump/path --enable-binlog