Automated backups

It is useful to have both textual and binary backups since the textual backup (without sensitive data, such as passwords) can be read by a human to understand the router configuration, while the latter (binary) can be used to restore configuration (with sensitive data) with ease. However, the binary configuration more prone to corruption.

Textual Backup
/system scheduler add comment="Backup running config in textual format without sensitive data" interval=1w name=runningConfigDump on-event="export file=/flash/mtikconf-nosensitive terse" policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-date=apr/10/2019 start-time=12:40:54

Binary Backup
/system scheduler add comment="Backup config as binary" interval=1w name=binBackup on-event="system backup save name=/flash/mtikAP.backup" policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-date=apr/10/2000 start-time=12:00:00