Commit Graph

13 Commits

Author SHA1 Message Date
a57e93d01e
Split source into multiple files, deduplicate pruning logic, do not parse templates when notifications are not used (#63)
* Split code into multiple files

* Deduplicate logic for pruning backups against different storages

* Only parse templates when notifications are enabled

* Use better description
2022-02-13 10:52:19 +01:00
Mauro Molin
8dfdd14527
Added custom notification messages using text/template (#60)
* Added custom notification messages using text/template

* Change notification template path and removed automatic newline trim

* Added stats and changed structure of template params

* Stat file hotfix

* Embedded and fixed default notification templates


Fix

* Changed Output to LogOutput

* Changed stats integer to unsigned

* Bytes formatting in template func


fix

* Changed Archives to Storages

* Removed unecessary sleep for pruning leeway

* Set EndTime after pruning is completed

* Added custom notifications documentation

* Added 5s sleep in swarm test

* Fixed documentation

* Dockerfile copies all files in cmd/backup
2022-02-11 20:05:16 +01:00
62bd2f4a5a
Update base docker image to alpine 3.15 (#53) 2022-01-27 14:40:56 +01:00
b6ad624115 leverage docker cache for downloading go deps 2021-11-23 08:04:48 +01:00
da9458724f adapt repo layout to go 2021-08-23 14:48:33 +02:00
8b110fd789 scaffold script flow 2021-08-23 14:47:34 +02:00
efb52aa806 try porting docker related parts to golang 2021-08-23 14:47:34 +02:00
f6b40742b4 use go 1.17 in builder 2021-08-19 11:08:36 +02:00
fa356137e8 inject proper version for mc command at compile time 2021-07-03 10:25:26 +02:00
07befda44d build mc from source, support arm/v7 2021-07-01 15:16:39 +02:00
23c287bfc7 build image for arm architectures 2021-07-01 14:19:55 +02:00
5be3c36040 update alpine base image to 3.14 2021-06-28 20:25:21 +02:00
a726bdecd4 add initial source 2021-04-02 13:59:53 +02:00