Commit graph

166 commits

Author SHA1 Message Date
Houkime
bdae6cfb75 feature(backups): global init instead of per-service 2023-07-17 16:05:00 +03:00
Houkime
d0b27da641 feature(backups): init repo mutation 2023-07-17 16:05:00 +03:00
Houkime
f116ce1bdb feature(backups): set job status to error if backup fails 2023-07-17 16:05:00 +03:00
Houkime
f622d617cf test(backups): test jobs starting and finishing when from Backups 2023-07-17 16:05:00 +03:00
Houkime
ac6d25c4c1 refactor(backups): make a backup job running when the backup code itself is executed 2023-07-17 16:05:00 +03:00
Houkime
026d72b551 refactor(backups): delete unused redis import from backups ckass 2023-07-17 16:05:00 +03:00
Houkime
029cb47db6 feature(backups): also create a job if not called from a task 2023-07-17 16:05:00 +03:00
Houkime
f0aabec947 refactor(backups): make api accept a list of folders 2023-07-17 16:05:00 +03:00
Houkime
d1e1039519 refactor(backups): make a dedicated get_folders() function 2023-07-17 16:05:00 +03:00
Houkime
507cdb3bbd refactor(services): rename get_location() to get_drive() 2023-07-17 16:05:00 +03:00
Houkime
6132f1bb4c test(backups): register dummy service 2023-07-17 16:05:00 +03:00
Houkime
1940b29161 feature(backups): automatic backup 2023-07-17 16:05:00 +03:00
Houkime
5e9c651c65 test(backups): test autobackup timing 2023-07-17 16:05:00 +03:00
Houkime
b305c19559 refactor(backups): split out storage 2023-07-17 16:05:00 +03:00
Houkime
f9eaaab929 feature(backups): enable snapshot cache usage 2023-07-17 16:05:00 +03:00
Houkime
2c510ae884 feature(backups): add snapshot cache sync functions 2023-07-17 16:05:00 +03:00
Houkime
ed0861aacc test(backups): test last backup date retrieval 2023-07-17 16:05:00 +03:00
Houkime
054b07baa3 feature(backups): add a datetime validator function for huey autobackups 2023-07-17 16:05:00 +03:00
Houkime
343fda0630 test(backups): test setting autobackup period 2023-07-17 16:05:00 +03:00
Houkime
0a4338596b test(backups): test setting services as enabled for autobackups 2023-07-17 16:05:00 +03:00
Houkime
79b9bb352a feature(backups): methods for autobackup period setting and getting 2023-07-17 16:05:00 +03:00
Houkime
951bb8d5ec fix(backups): remove self from static method 2023-07-17 16:05:00 +03:00
Houkime
d354f4ac0b feature(backups): check, set and unset service autobackup status 2023-07-17 16:05:00 +03:00
Houkime
43b6ebd04d feature(backups): cache snapshots and last backup timestamps 2023-07-17 16:05:00 +03:00
Houkime
d972fdc3cc refactor(backups): make backups stateless 2023-07-17 16:05:00 +03:00
Houkime
6f8f5cbb9e feature(backups): repo init tracking 2023-07-17 16:05:00 +03:00
Houkime
02deae217d feature(backups): provider storage and retrieval 2023-07-17 16:05:00 +03:00
Houkime
c928263fce feature(backups): load from json 2023-07-17 16:05:00 +03:00
Houkime
60dcde458c feat(backups): sizing up snapshots 2023-07-17 16:05:00 +03:00
Houkime
c8a8d45110 feat(backups): add restore_snapshot and restore_service_from_snapshot 2023-07-17 16:05:00 +03:00
Houkime
348ece8b9c fix(backups): singleton metaclass was screwing with tests 2023-07-17 16:05:00 +03:00
Houkime
a280e5c999 test(backups): localfile repo by default in tests 2023-07-17 16:05:00 +03:00
Houkime
3f30469532 refactor(backups): repo init service method 2023-07-17 16:05:00 +03:00
Houkime
5371c7feef refactor(backups): snapshotlist and local secret groundwork 2023-07-17 16:05:00 +03:00
Houkime
a0a0e1fb3b feat(backup): hooks 2023-07-17 16:05:00 +03:00
Houkime
178c456593 refactor(backup): add a backup function to Backups singleton class 2023-07-17 16:05:00 +03:00
Houkime
ff72d4124e refactor(backup): add a placeholder Backups singleton class 2023-07-17 16:05:00 +03:00
Houkime
54103973bc test(backup): try to back up! 2023-07-17 16:05:00 +03:00
Houkime
1e5fb67374 feature(backups): placeholders for the backupers and backup providers 2023-07-17 16:05:00 +03:00
Houkime
a3d58be0d5 feature(backups): placeholders for the modules of the new backup system 2023-07-17 16:05:00 +03:00
Houkime
9f19c677d0 feature(backup):calculate needed space for inplace restoration 2023-07-14 12:34:45 +00:00
Houkime
e43478d437 feature(backups): stop services before restores 2023-07-12 16:53:49 +00:00
Houkime
7af7600599 feature(backups): stop services before backups 2023-07-12 16:43:26 +00:00
Houkime
af5edb695f feature(backups): implement inplace restore strategy 2023-07-07 11:54:48 +00:00
Houkime
c74b3df32c feature(backups): restore strategies enum 2023-07-07 10:50:59 +00:00
Houkime
53bb5cc4e2 feature(backups): forgetting snapshots 2023-07-05 13:13:30 +00:00
Inex Code
b480c84041 style: fix styling 2023-06-29 13:44:29 +03:00
Houkime
ae16a527a2 refactor(backups): rename service_snapshot_size to snapshot_restored_size 2023-06-26 19:41:26 +00:00
Houkime
7147f97077 refactor(backups): remove the by-service getting of cached snapshots 2023-06-26 19:29:29 +00:00
Houkime
bae81b2f69 refactor(backups): rename force_snapshot_reload to force_snapshot_cache_reload 2023-06-26 19:20:49 +00:00