Commit Graph

9 Commits

Author SHA1 Message Date
3ded77448c
Do not skip directories when creating tar archive (#72)
* Update targz library to include potential ownership fix

* Move archive logic to main repo

* Remove assertions for debugging

* Use relative path in assertion

* Strip local part from archive location

* Log when extracting in tests

* Fix trimming of prfix

* Add license info to archive.go file

* Undo change in test assertion

* Add test checking for preserved file ownership

* use same postgres version in tests

* Wrap errors when archiving, handle deletion at script layer
2022-02-22 07:49:24 +01:00
3e17d1b123
Ensure end time is recorded for unsuccessful runs too (#62)
* Ensure end time is also recorded for unsuccessful runs

* Clean up integration tests
2022-02-13 09:41:36 +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
278df9b2f7 use find instead of mc for pruning local backups 2021-08-20 10:01:46 +02:00
5fd6f66324 label container in cli test 2021-07-11 20:21:17 +02:00
8a385d22aa sleep longer before trying to backup 2021-07-11 10:39:39 +02:00
c01555f052 check for correct file in tests 2021-07-11 10:30:16 +02:00
d29d0d7399 check for correct file in tests 2021-07-11 10:26:35 +02:00
a91353742d add test for interacting with a swarm stack 2021-07-11 10:21:47 +02:00