summaryrefslogtreecommitdiff
path: root/docs/system/config-management.rst
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2019-03-15 22:49:41 +0100
committerrebortg <github@ghlr.de>2019-03-15 22:49:41 +0100
commitac94f142fbc3cf566c7ac0aef22a6307fa1e0180 (patch)
tree375e646e59c77d58bf4f03db2ec00fef9c24cc90 /docs/system/config-management.rst
parent876748d88a353f05f311b3323242dbc81e4fe9a0 (diff)
downloadvyos-documentation-ac94f142fbc3cf566c7ac0aef22a6307fa1e0180.tar.gz
vyos-documentation-ac94f142fbc3cf566c7ac0aef22a6307fa1e0180.zip
splitt system and add config management
Diffstat (limited to 'docs/system/config-management.rst')
-rw-r--r--docs/system/config-management.rst33
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/system/config-management.rst b/docs/system/config-management.rst
new file mode 100644
index 00000000..c30cc0ce
--- /dev/null
+++ b/docs/system/config-management.rst
@@ -0,0 +1,33 @@
+.. _config-management:
+
+Config Management
+-----------------
+
+
+The following changes the number of commit revisions. In the default settings, 20 revisions are stored locally.
+
+.. code-block:: sh
+
+ 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:: sh
+
+ 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:: sh
+
+ 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 \ No newline at end of file