Page MenuHomeVyOS Platform

Allow git backup commits in a specific directory
In progress, NormalPublicFEATURE REQUEST

Description

Allow git backup commits in a specific directory.
Command

set system config-management commit-archive location git+https

allows copying the config to the root directory of the git repository.
There is a need to specify the directory to separate configs. (by companies, by location, etc.)

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

a.apostoliuk triaged this task as Normal priority.
Viacheslav changed the task status from Open to In progress.Mon, Nov 17, 11:04 PM
Viacheslav assigned this task to scj643.

@Viacheslav I need some guidance. I am trying to figure out what validator to use and it seems that the file-transport and url validators aren't in the vyos-1x repo and I can't seem to figure out what they are actually pointing to.

Edit:
Ok so I looked at my running VyOS system and it seems these validators are binary executables.

@Viacheslav I will need some help with making configuration migrations. Since it seems for this we will need to make significant changes to the commit-archive options since right now it uses a leafNode. I do have a somewhat hacky option to allow &subdir=path/to/subdir inside the url.

@scj643 If you want migration, there are some doubts about how it could be T6304 (old task with some proposes CLI)