/export file=config.rsc hide-sensitive
hide-sensitivereplaces passwords with"---"— safe for logs/version control.
As of RouterOS 7.15, MikroTik introduced native cloud backup via MikroTik Cloud (not to be confused with CHR licensing).
/import dhcp-config.rsc