Backup Use Export rsc Terse - Mikrotik Script RouterOS

If you want to export the file completely without line breaks, you can use "terse"

/export file=[filename] terse
Credit: www.o-om.com