Commit Graph

89 Commits

Author SHA1 Message Date
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
Jean-Marc ANDRE
4c300253c4 cleanup 2020-12-01 09:10:24 +01:00
Jean-Marc ANDRE
08bfb6aad6 Cleanup code 2020-11-25 22:55:05 +01:00
Jean-Marc ANDRE
19defd05e4 create backupsession works 2020-11-25 22:23:28 +01:00
Jean-Marc ANDRE
6154beb134 Init commit 2020-11-25 14:25:41 +01:00