Commit graph

95 commits

Author SHA1 Message Date
dlencer
aa4ddc21d9
Fix unintended deletions of old dumps
Previously, if `mysql` or `mysqldump` failed and you were using the `MAX_BACKUPS`-option, all old dumps were deleted. Now only dumps of successfully detected databases are considered for deletion.
2021-10-21 12:37:55 +02:00
Fco. Javier Delgado del Hoyo
4ee035f7d1
Merge pull request #51 from fradelg/support-hyphen-in-db-name
relax regex in grep from Database
2021-05-24 20:49:49 +02:00
Fco. Javier Delgado del Hoyo
e91114710f relax regex in grep from Database 2021-05-24 20:11:30 +02:00
Fco. Javier Delgado del Hoyo
27ce6e2def
Merge pull request #48 from fradelg/no-root-user
clean and sort Dockerfile
2021-05-13 21:00:28 +02:00
Fco. Javier Delgado del Hoyo
4fb031b087 removed unused package 2021-05-13 20:30:26 +02:00
Fco. Javier Delgado del Hoyo
6c79828e8b fix README 2021-05-13 20:24:13 +02:00
Fco. Javier Delgado del Hoyo
44b2074614 merge branch 'master' into no-root-user 2021-05-13 20:19:08 +02:00
Fco. Javier Delgado del Hoyo
b9c13f99a0
Merge pull request #47 from Stelage/master
Allow restoring without specifying DATABASE_NAME
2021-05-13 20:17:07 +02:00
Stelage
41ea03511f Quotes on SQL var was missing. 2021-05-09 17:58:46 +02:00
Stelage
7c8f51eac3 Fix pipefail position 2021-05-09 17:57:18 +02:00
Fco. Javier Delgado del Hoyo
89bb6f185e log crond output, remove 1000 userid 2021-05-09 11:28:53 +02:00
Fco. Javier Delgado del Hoyo
33c570f26d merge branch 'master' into no-root-user 2021-05-08 22:05:14 +02:00
Fco. Javier Delgado del Hoyo
038d4faf7f allow to run crontab job with userid 1000 2021-05-08 21:58:48 +02:00
Stelage
1302281333 Allow restoring without specifying DATABASE_NAME 2021-05-04 22:59:10 +02:00
Fco. Javier Delgado del Hoyo
ad684b3008
Merge pull request #43 from hasechris/master
Add --single-transaction argument to mysqldump
2021-04-07 20:13:26 +02:00
Christian Hase
9501648ce9
Update backup.sh
added --single-transaction parameter to "halt" the mysql database while exporting
2021-04-07 19:19:42 +02:00
Fco. Javier Delgado del Hoyo
4e5a9162f4 fix typo in tag filter for builds 2021-03-16 19:59:46 +01:00
Fco. Javier Delgado del Hoyo
4d2a75df19 build job depends on tests 2021-03-07 13:05:22 +01:00
Fco. Javier Delgado del Hoyo
2405077482 build dockerize and fix restore.sh db name for issue #38 2021-03-07 12:57:19 +01:00
Fco. Javier Delgado del Hoyo
150f905567 remove travis and fix ubuntu version 2021-03-06 13:28:03 +01:00
Fco. Javier Delgado del Hoyo
7e748dd82f use the official docker buildx action 2021-03-06 13:03:08 +01:00
Fco. Javier Delgado del Hoyo
7c8bb00622 add test to github action 2021-03-06 12:53:45 +01:00
Fco. Javier Delgado del Hoyo
057b0e823e fix issues in build action 2021-03-06 12:42:35 +01:00
Fco. Javier Delgado del Hoyo
37c242b292 add github action for multiarch docker build 2021-03-06 12:31:31 +01:00
Fco. Javier Delgado del Hoyo
9eda7058f1
Merge pull request #36 from berti92/master
Updated README.md - added Timezone ENV variable
2021-01-09 16:11:05 +01:00
Andreas Treubert
15e8ee7e0f
Update README.md 2021-01-09 15:31:56 +01:00
Fco. Javier Delgado del Hoyo
2e0b339916
Merge pull request #37 from harenber/master
Add mariadb-connector-c package to support newer MySQL versions
2021-01-09 13:49:42 +01:00
Torsten Harenberg
26a7d8ebb0 Add mariadb-connector-c package to support newer MySQL versions
The container does not run with newer (5.8+?) versions of MySQL as the
library to encrypt the password comes in a separate package.

Adding this package to the list of installed packages.
2021-01-07 15:32:36 +01:00
Andreas Treubert
07ec160d53
Update README.md 2020-11-26 16:26:35 +01:00
Fco. Javier Delgado del Hoyo
995f00f257
Merge pull request #34 from Kedu-SCCL/master
Install alpine package 'tzdata' to allow passing timezone as environm…
2020-10-04 11:54:49 +02:00
javier.legido
748381cdd2 Clarify that environment variable 'CRON_TIME' uses UTC timezone 2020-10-03 11:35:01 +02:00
javier.legido
8622152ceb Install alpine package 'tzdata' to allow passing timezone as environment variable: '-e TZ=foo/bar' 2020-10-03 11:29:37 +02:00
Fco. Javier Delgado del Hoyo
b073bbb23f
Merge pull request #33 from berti92/patch-1
Removed --databases
2020-09-19 19:55:47 +02:00
Andreas Treubert
d163a454d7
Update backup.sh 2020-09-14 15:42:46 +02:00
Fco. Javier Delgado del Hoyo
d06c483950
Merge pull request #32 from rscorer/feature/gzip-level
Add ability to set gzip compression level
2020-09-03 19:21:35 +02:00
Richard Scorer
3db704557a Add ability to set gzip compression level 2020-09-03 14:30:21 +01:00
Fco. Javier Delgado del Hoyo
71747a1560
Merge pull request #30 from waja/alpine312
Update to Alpine 3.12 base image
2020-07-07 19:23:27 +02:00
Jan Wagner
86c09693f0 Update to Alpine 3.12 base image 2020-07-06 12:25:54 +02:00
Fco. Javier Delgado del Hoyo
7d0e2c2f44
Merge pull request #29 from bendangelo/master
Use args to select wanted arch and os
2020-06-13 12:14:21 +02:00
Ben D'Angelo
0c29ac1adb Use args to select wanted arch and os 2020-06-08 23:06:39 +08:00
Fco. Javier Delgado del Hoyo
0d11e1b41b
Merge pull request #27 from waja/alpine311
Update alpine baseimage to 3.11
2020-01-07 20:42:58 +01:00
Jan Wagner
e6673d5465 Update alpine baseimage to 3.11 2020-01-07 12:21:59 +01:00
Fco. Javier Delgado del Hoyo
7ab684878d
Merge pull request #26 from fradelg/develop
Count backups per version, not per DB name
2019-08-18 09:50:33 +02:00
Fco. Javier Delgado del Hoyo
592e617005 added docker-compose file for testing and bump base image 2019-07-28 16:45:33 +02:00
Fco. Javier Delgado del Hoyo
7f01602f0f fix issue #24 counting backups per DB 2019-07-28 15:58:55 +02:00
Fco. Javier Delgado del Hoyo
b2a78edcdc
Merge pull request #22 from DanielCambray/patch-1
Error in the doc
2019-01-30 20:14:33 -05:00
Daniel Cambray
84c84b8a07
Error in the doc
The variable CRON_TIME is not set for every day at 03:00
2019-01-29 08:49:51 +01:00
Fco. Javier Delgado del Hoyo
fef252f8a1
Merge pull request #21 from mon555/patch-1
fix typo in README.md
2019-01-23 20:30:32 +01:00
Fco. Javier Delgado del Hoyo
fba3172314
Merge pull request #20 from mmartinortiz/symlink
Creating symlink from absolute path
2019-01-23 20:30:07 +01:00
Mon555
0ffb2c0a1d
fix typo in README.md 2019-01-23 10:14:47 +07:00