Commit Graph

64 Commits

Author SHA1 Message Date
01d1a60bb7 use go native strftime version 2021-08-22 21:14:28 +02:00
f15379795f fix location of success message for having created local backup 2021-08-22 20:49:46 +02:00
053422ba0e only tag proper releases as latest 2021-08-22 20:16:24 +02:00
39b933b8e8 improve logging messages 2021-08-22 20:03:18 +02:00
8161ad7f8f add insecure option, update docs 2021-08-22 19:26:34 +02:00
34e01fa303 adapt repo layout to go 2021-08-22 18:16:40 +02:00
2554c538ea add logging 2021-08-22 18:00:10 +02:00
77f948d4da refactor deferred cleanup actions to always run 2021-08-22 16:19:41 +02:00
d388785222 implement pruning from remote storage 2021-08-22 15:17:23 +02:00
b46c402b19 add gpg encryption 2021-08-22 14:44:33 +02:00
29f8a078bc implement deletion of local backups 2021-08-22 14:19:25 +02:00
3f7c08d616 implement lock file to ensure backup runs mutually exclusive 2021-08-22 12:02:22 +02:00
8b7d27740a implement copy to remote storage 2021-08-21 21:38:26 +02:00
9ddddc139a scaffold script flow 2021-08-21 19:55:22 +02:00
d34b525804 try porting docker related parts to golang 2021-08-21 19:05:49 +02:00
b7ba0e08df prefix mtime param with a +, use -name param for passing pattern to find 2021-08-20 21:51:45 +02:00
b558a57de9
Merge pull request #17 from offen/local-prune
Use find instead of mc for pruning local backups
2021-08-20 10:09:46 +02:00
278df9b2f7 use find instead of mc for pruning local backups 2021-08-20 10:01:46 +02:00
0782af88f4 fix blank variable when creating target 2021-08-19 16:35:21 +02:00
f82577fcb5 add prefix option to entrypoint script 2021-08-19 13:55:15 +02:00
7f261a54b6
Merge pull request #15 from offen/prune-prefix
Allow passing prefix to limit pruning ops
2021-08-19 13:45:10 +02:00
0069faa7fd allow passing prefix to limit pruning ops 2021-08-19 13:41:19 +02:00
8c7ffc3d99
Merge pull request #14 from offen/backup-archive
allow local storage of backups
2021-08-19 11:14:04 +02:00
f6b40742b4 use go 1.17 in builder 2021-08-19 11:08:36 +02:00
767c21ef65 allow local storage of backups 2021-08-19 10:35:39 +02:00
4b59089e3d add note about how the endpoint does not include a protocol 2021-08-19 08:57:48 +02:00
8e90ce408a add note about potentially having to raise memory limit when backing up large files 2021-08-18 20:38:51 +02:00
510ae889e4 document AWS_ENDPOINT_PROTO option 2021-08-17 19:49:51 +02:00
e4bb183afa add note about applying memory limit when running in swarm mode 2021-08-05 21:56:19 +02:00
5fd6f66324 label container in cli test 2021-07-11 20:21:17 +02:00
da75d232f4 add test for using docker cli 2021-07-11 14:02:05 +02:00
8a385d22aa sleep longer before trying to backup 2021-07-11 10:39:39 +02:00
a3d7af2b42 add docs on manually triggering backup 2021-07-11 10:36:29 +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
dda71c3a5d fix distinct service names ending up in joint service token 2021-07-10 08:09:55 +02:00
a8f013e16a
Merge pull request #8 from offen/some-tests
Add integration test
2021-07-09 10:00:51 +02:00
44d65c1a67 assert that all containers are back up and running after backup 2021-07-09 09:57:05 +02:00
88d4326e61 define cron schedule that never runs 2021-07-09 09:50:59 +02:00
6d3e43680c add basic integration test 2021-07-09 09:47:07 +02:00
6ce197696a scaffold basic testing in CI 2021-07-09 08:15:27 +02:00
ac3a231d2b
Merge pull request #7 from offen/swarm-support
Support Docker in Swarm mode
2021-07-08 20:07:06 +02:00
054ab8fbe6 when stopped container was part of a stack service, update service instead 2021-07-08 19:54:04 +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
c33ebc0c70
Merge pull request #5 from offen/multiarch
Build image for arm architectures
2021-07-01 14:22:54 +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
57afad5727
Merge pull request #4 from offen/stop-label
Allow for making container stop filter configurable
2021-06-26 21:19:35 +02:00