3
0
mirror of https://kolaente.dev/konrad/docker-db-backup.git synced 2026-01-08 17:30:07 +01:00

53 Commits

Author SHA1 Message Date
kolaente
5acf40d86e feat: add backup compression 2024-02-13 16:45:16 +01:00
kolaente
49510a6179 feat: add BACKUP_NO_CRON config to allow running the backup without cron schedule 2024-02-13 16:41:27 +01:00
kolaente
5982f1ef07 fix: directly write dump to file without buffering in memory
Resolves https://kolaente.dev/konrad/docker-db-backup/issues/5
2024-01-28 23:05:17 +01:00
kolaente
1b17dedc47 fix: don't crash when encountering a container with empty env variables
Resolves https://kolaente.dev/konrad/docker-db-backup/issues/4
2023-11-15 12:05:29 +01:00
kolaente
54a1eb955b fix: make mysql backups work 2023-07-03 22:46:38 +02:00
kolaente
8bbf77ccff fix: wrong import 2023-06-15 14:35:28 +02:00
kolaente
42932f91d2 fix: don't stop everything when one container could not be backed up
Resolves #3
2023-06-15 14:27:29 +02:00
kolaente
bd72e06825 feat: print a little message when the service starts 2023-06-05 19:19:32 +02:00
kolaente
5972dd055e fix: don't create backup path on startup 2023-06-05 19:12:17 +02:00
kolaente
123ba1141c fix: add ca root certificates 2023-06-05 19:07:15 +02:00
kolaente
07c2fae209 feat: add completion webhook url 2023-06-05 18:35:21 +02:00
kolaente
e43e8c3959 fix: test 2023-06-05 18:28:07 +02:00
kolaente
270e62e142 feat(mysql): dump everything 2023-01-06 14:43:54 +01:00
kolaente
1a18797af8 fix: make sure to dump everything from postgres databases 2022-08-17 17:31:21 +02:00
kolaente
96d61fd6e0 feat: add support for labels to discover additional containers 2022-08-09 11:02:47 +02:00
kolaente
064d2ce66e feat: change the backup date format to make sure the backups sort properly 2022-01-08 12:33:54 +01:00
kolaente
1e05d4966b docs: fix backups volume mount in example 2022-01-08 12:23:21 +01:00
kolaente
9f6620da11 fix: cron not running in foreground 2022-01-06 13:05:09 +01:00
kolaente
0fa49eb44b fix: default cron schedule 2022-01-06 13:04:53 +01:00
kolaente
63ed7deb5e docs: fix typo 2021-12-30 13:38:17 +01:00
kolaente
9cecce4f2d feat: replace interval with a proper cron schedule 2021-12-30 12:57:58 +01:00
kolaente
7b8e1d187c docs: add instructions to build from source 2021-12-30 12:57:35 +01:00
kolaente
3e65b244f4 docs: add docker-compose example 2021-12-30 12:38:54 +01:00
kolaente
a898dd455c feat: add drone config 2021-12-11 12:54:34 +01:00
kolaente
8cbba392f4 fix: find db images with all kinds of tags 2021-12-05 13:54:39 +01:00
kolaente
aa2dc54925 chore: add license 2021-12-05 13:49:06 +01:00
kolaente
70d5987d4c chore: update default config 2021-12-05 13:45:42 +01:00
kolaente
1026b19544 chore: use log everywhere 2021-12-05 13:44:36 +01:00
kolaente
3508c5a26e feat: add cron schedule 2021-12-05 13:42:35 +01:00
kolaente
2a477f49a2 feat: remove old containers 2021-12-05 13:40:53 +01:00
kolaente
6929a86485 feat: cleanup old backups 2021-12-05 13:38:36 +01:00
kolaente
3fc3b8cb18 feat: restructure writing to the file 2021-12-05 13:24:06 +01:00
kolaente
861824dbfe feat: scratch docker image 2021-12-05 12:44:47 +01:00
kolaente
2e58388a0b feat: move running the actual dump command to the db container 2021-12-05 12:39:23 +01:00
kolaente
c5f0b46e77 feat: add support for different postgres versions 2021-12-05 12:11:50 +01:00
kolaente
80d1b33d00 feat: add docker image with dumper clis 2021-12-05 12:03:11 +01:00
kolaente
e1ec1a2af0 feat: parse env for config 2021-12-05 11:50:17 +01:00
kolaente
fa3081b861 feat: log stderr when dumping 2021-12-05 11:48:28 +01:00
kolaente
69587faee2 fix(docs): typo 2021-12-05 11:31:38 +01:00
kolaente
54c22ee13b Add test for determining the container dumper type 2021-08-18 22:38:59 +02:00
kolaente
02ba460b3a Add tests to build mysql args 2021-08-18 22:34:28 +02:00
kolaente
45e7560e0b Add tests for building the postgres backup command 2021-08-18 22:27:21 +02:00
kolaente
1bc3fc85ab Add todo 2021-08-18 22:06:10 +02:00
kolaente
a1d8b4e334 Fix typo 2021-08-18 22:05:17 +02:00
kolaente
61f83bbd16 Add readme 2021-08-18 22:05:02 +02:00
kolaente
fef951f0b4 Add todos 2021-08-18 21:50:15 +02:00
kolaente
e85384d0da Add postgres dumper 2021-08-18 21:50:04 +02:00
kolaente
7a24e57e09 Add mysql dumper 2021-08-18 21:29:32 +02:00
kolaente
5ec093fbf6 Add dump helpers 2021-08-18 21:29:17 +02:00
kolaente
79f6c5cfad Add dumpers 2021-08-18 20:25:59 +02:00