Config Management

The following changes the number of commit revisions. In the default settings, 20 revisions are stored locally.

set system config-management commit-revisions 50
If you want to save all config changes to a remote destination. Set the commit-archive location. Every time a commit is successfully the config.boot file will be copied to the defined destinations.
set system config-management commit-archive location 'tftp://10.0.0.2'

Note

the number of revisions don’t effect the commit-archive:

A commit look now like this:

[email protected]# commit
Archiving config...
tftp://10.0.0.2  OK
[edit]
[email protected]#

The filename has this format: config.boot-hostname.YYYYMMDD_HHMMSS