Commit Graph

62 Commits

Author SHA1 Message Date
9f40d2eb6c fixed imports 2023-03-21 10:36:39 +01:00
36cf68b74b Added README 2023-03-21 10:32:35 +01:00
Jean-Marc ANDRE
994b792d97 multi arch Dockerfile 2023-03-20 22:15:13 +01:00
Jean-Marc ANDRE
0f8012c22e prepared BackupSession and RestoreSession common code 2023-03-20 22:14:41 +01:00
d4231768d7 Preparing the common code between BackupSession and RestoreSession 2023-03-17 16:42:49 +01:00
Jean-Marc ANDRE
319e226a30 The BackupSession controller in the sidecar should get the latest informtation about the repository everytime it reconciles because it might change 2023-03-06 23:05:57 +01:00
Jean-Marc ANDRE
d91f1e3f5d Reworked the scheduling. Tasks are run by SessionState now and not by Target 2023-02-27 00:54:43 +01:00
Jean-Marc ANDRE
e3aa5f3844 got job backup to work 2023-02-26 01:35:10 +01:00
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