Commit graph

112 commits

Author SHA1 Message Date
Fco. Javier Delgado del Hoyo
f0e5cb6ac8
Merge pull request #67 from skimpax/master
Add ability to get mysql password from file
2022-01-15 18:16:04 +01:00
skimpax
74ad029573 Remove double quotes around MYSQLDUMP_OPTS 2022-01-15 13:54:58 +01:00
skimpax
203280de70 Update readme for docker secrets example 2021-12-30 18:39:02 +01:00
skimpax
a365376ebe Add double quotes 2021-12-30 18:38:31 +01:00
skimpax
9f81b63bcd Ignore 'sys' table when backuping 2021-12-30 18:38:06 +01:00
skimpax
9c7c4d74e3 Specify password in a file via MYSQL_PASS_FILE 2021-12-30 18:37:52 +01:00
Fco. Javier Delgado del Hoyo
b0318b007c
Merge pull request #63 from fradelg/dependabot-docker-master-alpine-3.15.0
Bump alpine from 3.14.3 to 3.15.0
2021-11-25 20:13:54 +01:00
dependabot[bot]
f2ac763df9
Bump alpine from 3.14.3 to 3.15.0
Bumps alpine from 3.14.3 to 3.15.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-25 04:27:29 +00:00
Fco. Javier Delgado del Hoyo
fada8cbe2c
Merge pull request #61 from fradelg/dependabot-docker-master-alpine-3.14.3
Bump alpine from 3.14.2 to 3.14.3
2021-11-16 19:17:59 +01:00
dependabot[bot]
566cbc7c67
Bump alpine from 3.14.2 to 3.14.3
Bumps alpine from 3.14.2 to 3.14.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 04:27:07 +00:00
Fco. Javier Delgado del Hoyo
0b8a8abbb0
Merge pull request #59 from fradelg/dependabot-docker-master-alpine-3.14.2
Bump alpine from 3.12 to 3.14.2
2021-11-09 18:49:17 +01:00
dependabot[bot]
6f5e7b0eed
Bump alpine from 3.12 to 3.14.2
Bumps alpine from 3.12 to 3.14.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 22:09:42 +00:00
Fco. Javier Delgado del Hoyo
03ee3a58fe
Merge pull request #58 from waja/dependabot
Adding dependabot config
2021-11-08 23:09:16 +01:00
Jan Wagner
f2cefb1f9f Adding dependabot config 2021-11-08 20:56:01 +01:00
Fco. Javier Delgado del Hoyo
555e9026cb
Merge pull request #57 from Jumanjii/patch-1
Add missing space in if with square bracket
2021-11-08 16:01:46 +01:00
Allan Jacquet-Cretides
db19ca1130
Add missing space in if with square bracket
A missing space at the end of an if condition was generating a warning message.
/restore.sh: line 14: [: missing `]'

Adding it delete this error message
2021-11-07 23:26:56 +01:00
Fco. Javier Delgado del Hoyo
726585bd41
Merge pull request #56 from dlencer/master
Fix unintended deletions of old dumps
2021-10-25 19:54:57 +02:00
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