V
V
vampire3332019-10-28 18:33:19
git
vampire333, 2019-10-28 18:33:19

How to implement storage of versions of text files?

Good afternoon.
Tell me how to organize the storage of versions of text files that are the unloading of the switch configuration?
They need to be stored inside the local network, about 200 files are created once a day. Now they are saved in separate folders with the date and time in the file name.
I would like some kind of interface for comparing versions, preferably a web.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2019-10-28
@saboteur_kiev

Write a script that downloads configurations and commits them to your git.
You can add the current date to the commit message.
If the configuration files have not changed, then the excess will not get into the commit.
Any web interface to git allows you to do diff.
You can hang something simple, like gitolite, or more complicated, like bitbucket, with a beautiful web interface. You can compare git diff in the console.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question