Fco. Javier Delgado del Hoyo
d6217926f2
fix minor issues
2023-01-19 20:14:48 +01:00
g.nardiello
6b6656c540
Delete strategy moved to new file, as could custom
2023-01-06 09:35:11 +01:00
Skimpax
7bc94755f2
Fix copy/paste errors
2022-10-16 21:46:12 +02:00
Skimpax
37a8400103
Add ability to use secrets for mysql access
2022-10-15 07:49:01 +02:00
Alexey Kovtunovich
aca23ddb93
add SSL arguments
2022-06-14 18:18:01 +03: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
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
skimpax
74ad029573
Remove double quotes around MYSQLDUMP_OPTS
2022-01-15 13:54:58 +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
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
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
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
7e748dd82f
use the official docker buildx action
2021-03-06 13:03:08 +01:00
Andreas Treubert
d163a454d7
Update backup.sh
2020-09-14 15:42:46 +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
7f01602f0f
fix issue #24 counting backups per DB
2019-07-28 15:58:55 +02:00
Manuel
abba83c99b
Creating symlink from absolute path
2018-11-26 21:09:16 +01:00
Manuel
2b8cb54d05
Increased verbosity
2018-11-12 21:12:53 +01:00
Manuel
0ca0ac8f68
Fix symlink creation
2018-11-12 21:12:12 +01:00
Fco. Javier Delgado del Hoyo
7e99a5df2a
fix double quote
2018-11-09 19:07:23 +01:00
Manuel
1bd0e144c9
Ignore error if file does not exist
2018-11-08 14:34:29 +01:00
Manuel
bcc8f68f72
Create a link to the latest backup
...
The symlink is not considered a backup itself and never deleted according to the backup quota
2018-11-08 11:15:00 +01:00
Alan Colon
2231e88e58
Implement MYSQL_DB and MYSQLDUMP_OPTS options. Accept MYSQL_DATABASE and MYSQL_PASSWORD to maintain parity with _/mysql image options.
2018-04-26 11:08:44 -07:00
Fco. Javier Delgado del Hoyo
596c121913
use HOST and PORT for table lookup
2018-03-21 13:08:51 +01:00
Markus "Shorty" Uckelmann
ae753e40a1
Fixes missing USE statement in SQL dump
...
This commit adds the additional `--databases` option to the mysqldump command.
This adds a `USE database` statement to the beginning of the SQL dump.
Without this one has to provide the database name at restore.
2017-09-07 17:10:15 +02:00
Fco. Javier Delgado del Hoyo
44cdee455a
update docker and bash syntax
2017-04-16 11:29:31 +02:00
Jan Wagner
7770306750
Removing absolute path, $TARGET includes it already.
2017-04-10 08:55:09 +02:00
Fco. Javier Delgado del Hoyo
fc86bcc4cd
double quote find expression too
2017-04-08 18:02:18 +02:00
Fco. Javier Delgado del Hoyo
da419c79b1
fix bash syntax accordint to shellcheck
2017-04-08 17:57:23 +02:00
Jan Wagner
7bfedabff0
Remove backslash before ${TARGET}, it breaks cleanup
...
Closes #1
2017-04-08 16:09:59 +02:00
Fco. Javier Delgado del Hoyo
ef1f26cec8
split docker images into different repos
2017-03-27 21:16:15 +02:00