I try to do a backup to of my RB configuration to Subversion repository.
I want to know how I can expect if config is changed. Now I use comparison of precedent and current export.
But as I see this is not very good, because I can't see any changes in export after I created user under
Also i noticed that backup is changed in time. I made 2 backups without changing any configuration but they are different.
Code: Select all
What information is stored in export and what in in backup ?
And how I can verify if my config is changed ?
/export /import is "partial"The configuration export can be used for dumping out complete or partial MikroTik RouterOS configuration to the console screen or to a text (script) file, which can be downloaded from the router using FTP protocol. The configuration dumped is actually a batch of commands that add (without removing the existing configuration) the selected configuration to a router.
export is not exporting any decrypted certificate, as well /user passwords are not exported by /export.
/system backup is only reliable within the same hardwareThe configuration backup can be used for backing up MikroTik RouterOS configuration to a binary file, which can be stored on the router or downloaded from it using FTP for future use. The configuration restore can be used for restoring the router's configuration, exactly as it was at the backup creation moment, from a backup file. The restoration procedure assumes the cofiguration is restored on the same router, where the backup file was originally created, so it will create partially broken configuration if the hardware has been changed.
Backup Mikrotik config to Subversion repository via SSH