Commit Graph

94 Commits

Author SHA1 Message Date
jkaninda cb299a35bf enh: enhancement of logging 2025-03-17 09:05:04 +01:00
jkaninda e666466d27 fix: database name not set error when using flag -d (#183)
Lint / Run on Ubuntu (push) Successful in 18m39s
Tests / test (push) Failing after 13s
* fix: database name not set error when using flag -d
2025-03-14 14:38:06 +01:00
jkaninda eb6268f8ec ci: add Docker tests (#179) 2025-03-14 09:41:37 +01:00
jkaninda 731e2d789d ci: add go lint 2025-03-14 05:24:46 +01:00
jkaninda 6300a8f2dd feat: add backup all databases 2025-03-14 05:20:54 +01:00
jkaninda cd827a9277 chore: comment code
Build / docker (push) Failing after 16s
2025-03-13 14:44:22 +01:00
jkaninda 71cf3fae85 chore: improve log message 2025-03-13 14:26:32 +01:00
jkaninda 528282bbd4 feat: add backup all databases separately 2025-03-13 07:48:28 +01:00
jkaninda b6192f4c42 feat: add backup all databases
Build / docker (push) Failing after 14s
2025-03-12 16:04:26 +01:00
jkaninda d5061453b0 feat: add backup all databases 2025-03-12 15:50:30 +01:00
jkaninda 0bc7497512 fix: warning message when using MYSQL_PASSWORD env 2025-03-12 14:13:21 +01:00
jkaninda 489dfdf842 fix: backup error output 2025-03-12 13:27:31 +01:00
jkaninda bd65db2418 chore: update helper func to check env with prefix or suffix for multi backups
Build / docker (push) Failing after 14m58s
2025-02-05 07:39:52 +01:00
jkaninda 75b809511e fix go lint
Build / docker (push) Failing after 8s
2025-01-26 13:54:41 +01:00
jkaninda fc028a2c55 feat: add multiple backup rescued mode for scheduled mode 2025-01-26 13:43:39 +01:00
jkaninda 661702a97e docs: add quick restore 2025-01-26 12:11:29 +01:00
jkaninda b7cdfebd9c chore: notification remove MAIL_USERNAME and MAIL_PASSWORD from required env
Build / docker (push) Failing after 13s
2025-01-25 09:19:23 +01:00
jkaninda 4b93becdf2 feat: add Set default values from environment variables if not provided for multiple backup 2025-01-25 09:12:28 +01:00
jkaninda 3e8bfabc44 feat: add backup duration
Build / docker (push) Failing after 12s
2025-01-22 07:22:56 +01:00
jkaninda b95ccf3905 feat: add backup flags for configuration and cron expression 2025-01-13 14:23:27 +01:00
jkaninda 2c3f2f4a46 fix: the configuration file path is not being detected when it is enclosed in quotes 2025-01-12 07:58:32 +01:00
jkaninda 1b60ca6fd2 chore: add convert bytes to a human-readable string with the appropriate unit (bytes, MiB, or GiB) 2024-12-12 13:28:09 +01:00
jkaninda 07b7f54a75 Fix grammar issues in azure.go 2024-12-08 00:00:24 +01:00
jkaninda 95a81cb6b7 fix: SSH storage key identitify file 2024-12-07 20:14:30 +01:00
jkaninda 057d5277b0 fix: deprecation warning message, replace mysql by mariadb command 2024-12-07 17:54:44 +01:00
jkaninda 8e58d7a4c3 chore: update notification template 2024-12-07 17:36:05 +01:00
Jonas Kaninda 1940ceba9a fix: S3 remote path when backing up multiple databases 2024-12-07 02:25:22 +01:00
Jonas Kaninda 07d580a8a9 refactoring of code 2024-12-07 02:23:38 +01:00
Jonas Kaninda d5a0adc981 refactoring of code 2024-12-06 20:53:46 +01:00
Jonas Kaninda afd4afc83b refactor: refactoring of code 2024-12-06 14:21:55 +01:00
jkaninda eb414d818c refactor: Restructure project files for better organization, readability, and maintainability 2024-11-04 09:02:41 +01:00
Jonas Kaninda 8e20e9595f refactor: update logger, fix warning message 2024-10-23 12:06:24 +02:00
Jonas Kaninda 448ef4d988 refactor: update logger, fix warning message 2024-10-23 12:04:19 +02:00
Jonas Kaninda 3911296921 fix: add identifyFile 2024-10-23 09:36:58 +02:00
Jonas Kaninda 221079e0ea chore: integrate external storage module 2024-10-23 04:04:38 +02:00
Jonas Kaninda 431be36210 refactor: create storage interface, refactor local, s3, ftp and ssh storage 2024-10-22 17:21:01 +02:00
Jonas Kaninda f3ec395e37 refactor: clean up code 2024-10-21 08:22:06 +02:00
Jonas Kaninda dc20ea9635 refactor: ineffectual assignment 2024-10-20 08:21:36 +02:00
Jonas Kaninda 1dcb9586a6 chore: add command usage error 2024-10-20 06:57:06 +02:00
Jonas Kaninda 2c6336e84a chore: add backup prune, replace period flag by BACKUP_RETENTION_DAYS environment variable 2024-10-20 06:52:36 +02:00
Jonas Kaninda 3f7d28ea49 chore: replace prune and keep-last flags by BACKUP_RETENTION_DAYS env variable 2024-10-19 05:30:57 +02:00
Jonas Kaninda 24ccdaa671 refactor: add default env variable value 2024-10-15 16:43:02 +02:00
Jonas Kaninda f0afc0f4e0 chore: switch to encryptor module 2024-10-13 14:33:54 +02:00
Jonas Kaninda 01e41acb5c fix: fix multi backup s3 path 2024-10-10 05:51:18 +02:00
Jonas Kaninda ed2f1b8d9c fix: fix multi backup s3 path 2024-10-10 05:31:18 +02:00
Jonas Kaninda e5dd7e76ce chore: fix infinity calling Fatal, add a backup reference 2024-10-10 04:14:42 +02:00
Jonas Kaninda e4258cb12e feat: add email notification for failed and success backup 2024-10-09 22:31:52 +02:00
Jonas Kaninda d72156f890 feat: add multi database backup 2024-10-09 12:23:14 +02:00
Jonas Kaninda fe05fe5110 feat: add encrypt backup using public key, migrate gpg to go gpg dependency 2024-10-08 23:02:46 +02:00
Jonas Kaninda 300d2a8205 chore: remove testDatabaseConnection function for scheduled mode 2024-10-03 18:18:47 +02:00