Commit Graph

54 Commits

Author SHA1 Message Date
Jean-Marc ANDRE
7773fadcea /proc/../environ and not /proc/../env 2023-02-21 01:08:07 +01:00
7f227c1ec4 Should backup paths 2023-02-20 10:30:31 +01:00
Jean-Marc ANDRE
fd8df677c2 Gather env variables from container.Env and container.EnvFrom 2023-02-15 13:55:34 +01:00
Jean-Marc ANDRE
f3735e1409 Small commit to start working on the Steps 2023-02-08 22:40:00 +01:00
53369058b9 Faster build 2023-02-08 17:59:02 +01:00
Jean-Marc ANDRE
8d75e1450c Added Docker file 2023-02-08 12:49:05 +01:00
Jean-Marc ANDRE
120b24b9aa No need to reschedule. 2023-02-07 23:28:54 +01:00
Jean-Marc ANDRE
80d31f1090 Most of the state machine is implemented 2023-02-07 23:14:25 +01:00
Jean-Marc ANDRE
bfc1bdec2a Added BackupSession controller skeleton 2023-02-07 18:57:17 +01:00
Jean-Marc ANDRE
28658aef39 Initial commit 2023-02-03 18:36:09 +01:00
84347314fd arm64 runs faster 2021-07-18 13:40:38 +02:00
ba80d2c83c search for tag in /proc/*/environ to find the correct chroot 2021-06-03 17:18:32 +02:00
4e1009fae1 get env from secrets and configmaps 2021-06-03 09:20:23 +02:00
bafffdb3d2 Using buildah because I cannot make podman work anymore 2021-05-08 23:30:11 +02:00
771942cb94 Moved to kubebuilder 0.8.3 2021-05-08 22:35:44 +02:00
2ba6e19f8d Restore session with post restore steps works 2021-05-02 22:36:45 +02:00
df00c8f841 Implemented restoresession reconcile method 2021-04-23 21:26:56 +02:00
b1ea232691 Refactor and added the restoresession controller 2021-04-17 16:22:41 +02:00
956c726a63 Skip the restore if it has already been done 2021-02-21 14:27:54 +01:00
b7468cbe2b Don't need to pass repo as arg anymore 2021-02-17 22:15:21 +01:00
7f3ee66b1f cleaned volume command 2021-02-17 22:15:21 +01:00
bc36f5a2b7 fine tuning and logging 2021-02-17 22:15:21 +01:00
8e138819a6 Use binary store for postgres backups 2021-02-17 22:15:21 +01:00
147b70a26d restoresession finalize 2021-02-17 22:15:21 +01:00
697c09c2c5 restore functions 2021-02-17 22:15:21 +01:00
cce762cb78 reworked snapshot 2021-02-17 22:15:21 +01:00
fbdc69f168 reworked volume 2021-02-17 22:15:21 +01:00
5b1a5827f6 reworked postgres 2021-02-17 22:15:21 +01:00
680c23460b reworked backupsession 2021-02-17 22:15:21 +01:00
022180febb removed commands 2021-02-17 22:15:21 +01:00
827536c1c7 Restic operations in restic module, session in session module 2021-02-17 22:15:21 +01:00
b52d876815 replace github.com/desmo999r/formol => /home/jandre/devel/golang/formol 2021-02-17 22:15:21 +01:00
93710e9341 renamed BackupState into SessionState so it can be used for the restore as well
renamed BackupState into SessionState so it can be used for the restore as well
2021-02-16 21:53:34 +01:00
a8faed3306 Get the deployment name from an ENV var instead of all that mess 2021-02-16 21:53:23 +01:00
1e44ea838d Might need it at some point... 2021-01-24 20:49:29 +01:00
f418bca204 Add run hooks commands 2021-01-24 20:48:37 +01:00
7f4ef3c94c Make sure there is not a lock when we start a backup 2021-01-21 21:36:57 +01:00
f45801cf76 use latest formol api 2021-01-04 00:59:45 +01:00
12b6f86e26 reworked checkRepo logging and process spawning 2021-01-04 00:58:42 +01:00
eefe93145e Latest formol API 2021-01-03 10:19:13 +01:00
16640f34eb backupsession status 2021-01-03 00:58:13 +01:00
de4ee5cd01 moved sources 2021-01-03 00:55:55 +01:00
16502993dd Prepare more than 1 step backup 2020-12-28 15:42:15 +01:00
Jean-Marc ANDRE
13c1b4220a Keep last backup policy. Delete the others 2020-12-13 20:49:51 +01:00
Jean-Marc ANDRE
36d7f89642 Go can cross compile no need for qemu 2020-12-13 20:49:51 +01:00
Jean-Marc ANDRE
72250c1144 Simple makefile to build the container because I always forget the podman special options 2020-12-13 20:49:43 +01:00
Jean-Marc ANDRE
93860e0172 Refactored and added pkg module 2020-12-12 10:21:27 +01:00
Jean-Marc ANDRE
9a3d9bd1a4 New mod version 2020-12-06 11:29:51 +01:00
Jean-Marc ANDRE
a531a997bb Returns stdout to the controller to update the status 2020-12-06 11:29:06 +01:00
Jean-Marc ANDRE
aa640afff2 backup works 2020-12-01 09:12:58 +01:00