Commit graph

355 commits

Author SHA1 Message Date
Houkime
228eab44bb feat(backups): throw an error on a failed backup 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
add4e21f39 feature(backups): throw an error if repo init fails 2023-07-17 16:05:00 +03:00
Houkime
5efb351159 feature(backups): register localfile backend 2023-07-17 16:05:00 +03:00
Houkime
529608d52e feature(backups): localfile repo 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
a405eddbcf refactor(backups): add repo init 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
e156e9cd58 test(backup): no snapshots 2023-07-17 16:05:00 +03:00
Houkime
4ca2e62b5c feature(backup): loading snapshots 2023-07-17 16:05:00 +03:00
Houkime
a42294b706 feature(backup): add a restore function to restic backuper 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
a9cd8dda37 fix(backup): add memory backup class,forgot to add to git 2023-07-17 16:05:00 +03:00
Houkime
86c99c0be8 feat(backup): add backuping to restic backuper 2023-07-17 16:05:00 +03:00
Houkime
37c18ead99 feat(backup): add in-memory backup 2023-07-17 16:05:00 +03:00
Houkime
e5a965ea29 feat(backup): allow no auth 2023-07-17 16:05:00 +03:00
Houkime
9097ba02d7 test(backup): provider class selection 2023-07-17 16:05:00 +03:00
Houkime
7d76b74dbc feature(backups): copy cli logic to new restic backuper 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
2743441e1e fix(backups): actually mount if asked for an inplace restore 2023-07-07 13:14:30 +00:00
Houkime
9075afd38a test(backups): test out that pre-restore backup plays nice with jobs 2023-07-07 12:50:20 +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
Houkime
03313b739a feature(backups): check restore exit code 2023-07-03 20:53:21 +00:00
Houkime
3dc6fb91f2 refactor(backups): download a copy before replacing original 2023-07-03 20:41:52 +00:00
Houkime
b6eb27dc5e feature(backups): mounting a repo 2023-07-03 15:32:00 +00:00
Houkime
953860a02c refactor(backups): move syncing (non-restic) into backup utils 2023-07-03 15:32:00 +00:00
Houkime
6a00d3cff9 refactor(backups): move output yielding into backup utils 2023-07-03 15:32:00 +00:00
Houkime
9793201ca1 feature(backups): a wrapper for rclone sync 2023-07-03 15:32:00 +00:00
Inex Code
b480c84041 style: fix styling 2023-06-29 13:44:29 +03:00
Houkime
e4865aa094 fix(services): proper backup progress reporting 2023-06-28 11:45:07 +00:00
Inex Code
d9b26e12e2 fix(backups): missing space in rclone args 2023-06-28 12:10:12 +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
Houkime
a76834d1ba refactor(backups): merge sync_all_snapshots with force_snapshot_reload 2023-06-26 19:16:18 +00:00
Houkime
f8029d133a refactor(backups): straighten get_all_snapshots 2023-06-26 19:01:26 +00:00
Houkime
4ad4c3cc67 refactor(backups): delete sync_service_snapshots 2023-06-26 18:50:37 +00:00
Houkime
b9be0be6a2 refactor(backups): privatize assert_restorable and restore_snapshot_from_id 2023-06-26 18:42:26 +00:00
Houkime
2f2c4f14af refactor(backups): group operations together 2023-06-26 18:30:31 +00:00
Houkime
e6efd1b42d refactor(backups): move reset() to top because toplevel interface 2023-06-26 18:21:50 +00:00