Message-ID: <963790516.4192.1711704795115.JavaMail.confluence@unimus-dev1> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_4191_1331331737.1711704795114" ------=_Part_4191_1331331737.1711704795114 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Backup Filters

Backup Filters

=20 =20

Intro

As documented in the Backup articl= e, if there are no changes to the config of your device, a new "backup" poi= nt is not required. In effect, this means that rather than showing you indi= vidual backups, Unimus will show you configuration points - ranges of valid= configurations on your device to build a configuration timeline of the dev= ice. To be able to do this, Unimus needs to be able to figure out if there = was a config change on the device. For example, if the configuration of the= device contains a timestamp (Cisco IOS will show the current timestamp of = when "show running-config" was executed), this needs to be ignored so this = "change" in the configuration contents doesn't create a new configuration p= oint. Unimus contains many built-in filters for such dynamic data (as menti= oned in the Backup article), but= you can also create your own custom filters for backup contents.

Filtering order:

Ignored data filters

The "Ignored filters" can be used to ignore changes to parts of the back= up - during comparison of the new backup to the currently stored backup, Un= imus will IGNORE the matched data for the comparison purposes. The data wil= l still be stored as a part of the backup, but if changes in the data happe= n, those changes will be ignored.

Deleted data filters

The "Deleted data" filters can be used to completely remove parts of the= backup - before comparison of the new backup to the currently stored backu= p, Unimus will REMOVE the matched data from the "new" backup. This means th= at this data will not be stored as a part of the backup at all - as if this= data was not received from the device at all.

Filtering types

Line filters

For the line filters ("Line starts with" and "Line ends with"), if there= is a match, the whole line is filtered / deleted.

These filters can be used for simple and easy matching rules if you know= the exact beginning or ending of a line you want to filter / delete.

Regex filters

If there are no capture groups in the regex, the whole regex match is fi= ltered / deleted. However if you use capture groups, only the content captu= red by the capture groups will be filtered / deleted.

This allows for very precise and flexible matching using regex and captu= re groups, so you can filter / delete only exactly what you need.

Additional details

We have a blog article that offers additional details and a more in-dept= h description of how and when filters can be useful:

https://unimus.net/blog/backup-filters-= unimus-210.html

 

------=_Part_4191_1331331737.1711704795114--