Commit Graph

257 Commits

Author SHA1 Message Date
ad7ec58322 add syntax highlighting 2021-10-23 17:45:57 +02:00
b7ab2fbacc add section about container timezones to the README 2021-10-23 17:44:30 +02:00
789fc656e8
Merge pull request #27 from offen/latest-symlink
Automatically create symlink to latest local backup if configured
2021-10-01 18:47:16 +02:00
c59b40f2df automatically create symlink to latest local backup if configured 2021-10-01 18:19:24 +02:00
cff418e735 fix README grammar 2021-10-01 08:48:20 +02:00
d7ccdd79fc
Merge pull request #26 from offen/instance-profile
Allow s3 authentication via IAM role
2021-09-30 19:32:54 +02:00
bd73a2b5e4 allow s3 authentication via IAM role 2021-09-30 19:24:43 +02:00
6cf5cf47e7
Merge pull request #25 from offen/delete-on-failure
Ensure script always tries to remove local artifacts even when backup failed
2021-09-13 09:33:12 +02:00
53c257065e ensure script always tries to remove local artifacts even when backup failed 2021-09-12 10:48:19 +02:00
184b7a1e18 add docs on one off backups using docker cli 2021-09-11 11:21:48 +02:00
69a94f226b tweak configuration reference for email settings 2021-09-10 11:58:33 +02:00
160a47e90b allow registering hooks at different levels 2021-09-09 16:55:49 +02:00
59660ec5c7 include exit log message in notification 2021-09-09 11:08:05 +02:00
af3e69b7a8 fix typo in README 2021-09-09 09:19:37 +02:00
5d400cb943
Merge pull request #24 from offen/failure-email
Enable sending out email notifications on failed backups
2021-09-09 09:10:20 +02:00
88368197c1 implement email notifications on failed backup runs 2021-09-09 09:00:23 +02:00
e46968ed79 call error hooks on script failure 2021-09-09 08:12:07 +02:00
2c06f81503 collect all log output in buffer so it could be used in notifications 2021-09-09 07:24:18 +02:00
55d030a06a
Merge pull request #22 from offen/targz-fork
Fix handling of symlinks in backup targets
2021-09-06 18:15:34 +02:00
fefc34c6aa tidy go mod file 2021-09-04 15:54:09 +02:00
5922820ada add test for checking behavior on symlinks 2021-09-04 10:30:34 +02:00
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