Skip to content
/ gitvcl Public

Tool for making backup of VCL files with the Varnish Enterprise Controller

License

Notifications You must be signed in to change notification settings

DJClean/gitvcl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitVCL

This is a python based to used together with the Varnish Enterprise Controller to backup all deployed VCL files. These files are saved in a GIT repository to build up a history in case an older file needs to be retrieved or a mistake needs to be corrected.

Features

  • Backup Varnish configuration files

Installation

To install the necessary dependencies, run:

pip install -r requirements.txt

Requirements

  • Python 3.10

How to Run

To run the script manually, use:

python main.py --config settings.yaml

To set up a cron job that runs the script every 30 minutes, add the following line to your crontab:

*/30 * * * * /usr/bin/python3 /path/to/your/project/main.py --config /path/to/your/project/settings.yaml

About

Tool for making backup of VCL files with the Varnish Enterprise Controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages