blob: 34f969e56ec9afd896db7f0deab8e0315a688732 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
.. _config-management:
Config Management
-----------------
The following changes the number of commit revisions. In the default settings, 20 revisions are stored locally.
.. code-block:: none
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.
.. code-block:: none
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:
.. code-block:: none
vyos@vyos-R1# commit
Archiving config...
tftp://10.0.0.2 OK
[edit]
vyos@vyos-R1#
The filename has this format: config.boot-hostname.YYYYMMDD_HHMMSS
|