Commit graph

219 commits

Author SHA1 Message Date
dependabot[bot]
331adf57b0
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 04:35:02 +00:00
Fco. Javier Delgado del Hoyo
d16bf5443b
Merge pull request #73 from moty66/master
Fix double quote issue for extra options
2022-02-24 20:51:32 +01:00
Motaz Abuthiab
eb42488f00
fix issue with multiple dump extra options
mysqldump will fail if the env variable has multiple options, 

issue: https://github.com/fradelg/docker-mysql-cron-backup/issues/72
2022-02-22 08:50:03 +01:00
Motaz Abuthiab
db6014ab1a
fix issue with multiple dump extra options
mysqldump will fail if the env variable has multiple options, 

issue: https://github.com/fradelg/docker-mysql-cron-backup/issues/72
2022-02-22 08:49:54 +01:00
Fco. Javier Delgado del Hoyo
42312b94a3
Merge pull request #71 from fradelg/save-plain-sql
support saving non-gzipped sql files
2022-02-05 18:18:33 +01:00
Fco. Javier Delgado del Hoyo
f741822403 fix wrong placement of MYSQLDUMP_OPTS variable 2022-02-05 13:01:53 +01:00
Fco. Javier Delgado del Hoyo
8992f162d7 support saving non-gzipped sql files 2022-02-04 20:44:11 +01:00
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