Commit Graph

108 Commits

Author SHA1 Message Date
atcommander 7313a50839 Fixed issue with tracking how many weekly and monthly backups should be kept 2022-08-20 11:55:57 +02:00
atcommander 74b7f40483 Removed unneeded comments
Fixed the handling of when not enough backups have been created
Changed the no flags behaviour to create and cleanup backups
2022-08-20 11:55:45 +02:00
atcommander a12c5f51e2 Updated to handle the new scripts flags
Updated to run backups and cleanup at different times
2022-08-20 11:55:16 +02:00
atcommander 3cf2b9bdb3 Updated readme.md
Update docker build files
2022-08-20 11:55:08 +02:00
atcommander d1793740b3 Rewritten to breakdown the script into specific functions
Added monthly backups that are only taken once a month
Added weekly backups that are only taken once a week
Added backup deletion protection when backups are failing to be taken
Added flags so that tasks can be run separately from each other
Added the ability to choose whether backups are actually deleted or a dry run is performed
Removed last backup folder and latest backup symbolic links
2022-08-20 11:55:01 +02:00
PauRE af916da211 Merge pull request #72 from PedroCapdevila/patch-1
Fix delete old backups in folder last
2022-04-05 20:13:59 +02:00
PedroCapdevila 130e5a3aa0 Fix delete old backups in folder last 2022-04-05 14:00:31 -03:00
Pau Rodriguez-Estivill f0b5949af0 Rename generate docker bake script 2022-03-04 16:22:52 +01:00
Pau Rodriguez-Estivill 4190c17c45 Move IMAGE_NAME to Docker Bake 2022-03-04 16:10:19 +01:00
Pau Rodriguez-Estivill d893605ecf Add example for ghcr.io 2022-03-04 15:50:46 +01:00
Pau Rodriguez-Estivill e55801813e Add REGISTRY_PREFIX build variable 2022-03-04 15:29:53 +01:00
Pau Rodriguez-Estivill 3a005cff3a Add directories tests 2022-02-26 19:57:03 +01:00
Pau Rodriguez-Estivill 1f887c0665 Add cluster mode test 2022-02-26 19:44:43 +01:00
Pau Rodriguez-Estivill bf074fcefb Fix pg_dumpall error detection 2022-02-26 19:33:24 +01:00
Pau Rodriguez-Estivill 1dd8f3af7f Implement latest symlink #59 2022-02-26 17:33:40 +01:00
Pau Rodriguez-Estivill b6163ee56a Limit last backups by minutes 2022-02-26 17:26:58 +01:00
Pau Rodriguez-Estivill 95e93b19fa Improve script test 2022-02-26 17:25:21 +01:00
Pau Rodriguez-Estivill bef88186c2 Setup workflow environment 2022-02-26 15:55:56 +01:00
Pau Rodriguez-Estivill 5bb70f851b Add pull request CI 2022-02-26 15:55:17 +01:00
Pau Rodriguez-Estivill 8dedbc0a64 Simplify workflow 2022-02-26 15:51:54 +01:00
Pau Rodriguez-Estivill 7ff37a5c48 Add CI script test 2022-02-26 14:31:42 +01:00
Pau Rodriguez-Estivill 179d413dcb Minor style change 2022-02-26 14:21:11 +01:00
Pau Rodriguez-Estivill acb02ed858 Add CI workflow 2022-02-26 13:56:12 +01:00
Pau Rodriguez-Estivill 888459f6ec Remove missing platforms tags 2022-02-26 13:45:02 +01:00
Pau Rodriguez-Estivill ae991f698b Fix Debian ARM v7 build 2022-02-26 13:44:36 +01:00
Pau Rodriguez-Estivill 03a87860de Initial GitHub actions workflow 2022-02-26 12:44:31 +01:00
Pau Rodriguez-Estivill af12d1a098 Remove unsupported version 9.6 2022-02-26 11:52:27 +01:00
PauRE 8112dc75b5 Update README #64 2021-11-04 15:32:54 +01:00
Pau Rodriguez-Estivill 5001498324 More fixes for Debian cross-build 2021-10-28 22:40:14 +02:00
Pau Rodriguez-Estivill 2aa03d19ce Add postgresql 14 and remove EOL 9.5 2021-10-28 20:11:54 +02:00
PauRE 031da712be Fix Debian cross-build #44 2021-10-28 20:01:48 +02:00
PauRE 9674176fb7 Update README.md 2021-07-22 17:14:28 +02:00
PauRE 3b6d1a0335 Add TZ environment variable to fix #50 2021-05-20 15:03:35 +02:00
PauRE 2a1f95a2af Update README to fix #54 2021-05-20 14:42:39 +02:00
Pau Rodriguez-Estivill a2927fec09 Minor alpine build fix 2021-03-07 14:54:06 +01:00
Pau Rodriguez-Estivill ef54bd18d3 Add architectures s390x and ppc64le #44 2021-03-07 14:40:06 +01:00
Pau Rodriguez-Estivill 7d841fadb3 Add local revision tag 2021-03-07 14:39:40 +01:00
Pau Rodriguez-Estivill f97585e5ef Improve compression speed #43 2021-02-19 19:16:25 +01:00
PauRE cddefe160b README.md: Add additional options links 2021-02-04 20:06:08 +01:00
PauRE 627bdad645 Add destination folder owner instructions 2020-11-06 15:41:24 +01:00
Pau Rodriguez-Estivill c37bf719f1 Fix hcl indent 2020-10-01 15:22:29 +02:00
Pau Rodriguez-Estivill 0686998b92 Added Postgres 13 #35 2020-10-01 15:07:06 +02:00
Pau Rodriguez-Estivill 7858b93f77 Fix docker-compose example 2020-09-05 16:27:57 +02:00
Pau Rodriguez-Estivill 4c3477fbda Markdown lint 2020-09-02 18:59:16 +02:00
Pau Rodriguez-Estivill 393147d563 Added compression support for pg_dumpall (#31) 2020-09-02 18:56:13 +02:00
Pau Rodriguez-Estivill 7e40b9cf25 Fix pg_dumpall database parameter (#31) 2020-09-01 18:10:07 +02:00
Pau Rodriguez-Estivill 5abed76075 Rename Dockerfiles 2020-09-01 18:00:20 +02:00
Pau Rodriguez-Estivill 5d3244c1c6 Improved manual backup example 2020-08-20 22:54:24 +02:00
Pau Rodriguez-Estivill 22ada6f6a2 Recommend runAsNonRoot in the examples (#29) 2020-08-20 22:19:48 +02:00
Pau Rodriguez-Estivill 0a9404a08e Add build documentation 2020-08-20 21:49:36 +02:00