Commit Graph

86 Commits

Author SHA1 Message Date
8aba98c012 use forked version of package targz 2021-09-04 10:08:06 +02:00
70daa0308a
Merge pull request #19 from offen/golang-version
v2 Rewrite
2021-08-30 19:57:36 +02:00
ede94bcd88 display all error messages instead of first one 2021-08-29 19:39:51 +02:00
aae97a5617 try restarting even when stopping some containers failed 2021-08-29 18:51:05 +02:00
825cbb50ef always use background context directly 2021-08-29 18:26:40 +02:00
bea203af3d improve documentation 2021-08-29 18:16:04 +02:00
6034e6a902 print proper local archive in log message 2021-08-29 08:36:45 +02:00
d0eca0a179 fix container stop execution order 2021-08-26 16:22:24 +02:00
a0fe2cf42d handle errors on container restart 2021-08-26 12:50:22 +02:00
5334ff1a5a refactor script initialization 2021-08-25 07:48:20 +02:00
e73256ad70 do not use start time as deadline 2021-08-24 09:15:43 +02:00
e0c4adc563 move handling of config to script layer 2021-08-24 09:01:44 +02:00
2469597848 fix lockfile mechanism 2021-08-23 18:46:49 +02:00
b1c4bee85d use buffered reader to write to encryption mechanism 2021-08-23 17:34:13 +02:00
ec87bd27e7 do not use scanner to write file in chunks 2021-08-23 15:19:50 +02:00
f4f4fa9e74 use full filepath when pruning local backups 2021-08-23 14:56:04 +02:00
7086c6e645 read backup in small chunks when encrypting 2021-08-23 14:48:33 +02:00
411a62a6c7 shorten log messages 2021-08-23 14:48:33 +02:00
5a2bf48ec6 make sure backup also runs when socket isn't present 2021-08-23 14:48:33 +02:00
07b06cf0ba read all configuration in init 2021-08-23 14:48:33 +02:00
4c80494433 use go native strftime version 2021-08-23 14:48:33 +02:00
7244725c5b fix location of success message for having created local backup 2021-08-23 14:48:33 +02:00
935de92f2e only tag proper releases as latest 2021-08-23 14:48:33 +02:00
d195e8967f improve logging messages 2021-08-23 14:48:33 +02:00
188c14c00f add insecure option, update docs 2021-08-23 14:48:33 +02:00
da9458724f adapt repo layout to go 2021-08-23 14:48:33 +02:00
435583168b add logging 2021-08-23 14:48:33 +02:00
67499d776c refactor deferred cleanup actions to always run 2021-08-23 14:48:33 +02:00
8c99ec0bdf implement pruning from remote storage 2021-08-23 14:48:33 +02:00
f2739b583e add gpg encryption 2021-08-23 14:48:32 +02:00
78e4e3813b implement deletion of local backups 2021-08-23 14:48:10 +02:00
4d9482a8b4 implement lock file to ensure backup runs mutually exclusive 2021-08-23 14:47:34 +02:00
0c6ac05789 implement copy to remote storage 2021-08-23 14:47:34 +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
4c84674650
Merge pull request #20 from offen/gpg-testcase
Add testcase for gpg encryption
2021-08-23 14:47:11 +02:00
6fe81cdf2d add testcase for gpg encryption 2021-08-23 14:42:50 +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