Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 514 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 514 Bytes

KArchive

Webserver and backend which accepts PUT requests to store files in Git repositories. Intended to use together with JunOS archive.

Install:

The environment variable GIT_REPO_URL must be set to the path of the git:

Configure JunOS:

admin@foo-bar# set system archival configuration archive-sites http://[email protected]/commit

Test with CURL:

$ curl -X PUT -H'Content-Type: application/gzip' --data-binary @data.conf.gz https://localhost/commit/data.conf.gz