The Command-Line Interface (CLI) is a powerful tool for managing Mikrotik devices. To export the configuration using CLI:
Important caveats & risks