Houkime
4aa87edf47
fix(servers): hopefully fix moving
2023-07-14 10:58:31 +00:00
Houkime
92cfd00f93
feature(servers): set default timeout of server operations to 10 min
2023-07-12 17:03:24 +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
326e3d3b0c
test(backups): do not store the status file in backupped folders
2023-07-12 16:00:36 +00:00
Houkime
de8ef744eb
refactor(backups): make a StoppedService context manager
2023-07-12 15:14:54 +00:00
Houkime
713296c520
test(backups): make delay settable per dummyservice
2023-07-12 12:27:55 +00:00
Houkime
e7a6700522
test(backups): test async service start n stop simulation
2023-07-12 12:10:40 +00:00
Houkime
169e9ad57d
test(backups): simulating async service start n stop
2023-07-10 17:03:10 +00:00
Houkime
6523105d89
feature(utils): a hopefully reusable waitloop
2023-07-10 10:33:01 +00:00
Houkime
1cefaefa3b
feature(backups): expose restore strategies to the API
2023-07-07 13:24:05 +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
64e7afe53e
feat(backups): Add backup descriptions for UI
2023-06-29 14:27:08 +03:00
Inex Code
15ce344bc8
feat(backups): expose if the service can be backed up
2023-06-29 13:45:00 +03:00
Inex Code
b480c84041
style: fix styling
2023-06-29 13:44:29 +03:00
Houkime
cd2e9d3ba3
fix(jobs): make finishing the job set progress to 100
2023-06-28 13:22:53 +00:00
Inex Code
11184a55e8
feat(jobs): return type_id of the job in graphql api
2023-06-28 15:56:30 +03:00
Houkime
e4865aa094
fix(services): proper backup progress reporting
2023-06-28 11:45:07 +00:00
Houkime
35258bad38
fix(services): cleanup a stray get_location
2023-06-28 09:48:32 +00:00
Houkime
59fef1d016
fix(backups): register the correct tasks
2023-06-28 09:41:03 +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
Houkime
1593474dc1
refactor(backups): make redis and json provider related lowlevels private
2023-06-26 18:20:22 +00:00
Houkime
71eeed926d
refactor(backups): make construct_provider not public
2023-06-26 18:14:15 +00:00
Houkime
81d1762518
refactor(backups): make lookup_provider not public
2023-06-26 18:11:11 +00:00
Houkime
e159d2f1a7
refactor(backups): reorder imports
2023-06-26 18:07:47 +00:00
Houkime
8604caa331
refactor(backups): api readability reorg
2023-06-26 18:00:42 +00:00
Houkime
2f71469f39
refactoring(backups): backuper -> backupper
2023-06-23 12:04:33 +00:00
Houkime
6ca68fae17
fix(tokens-repo): persistent hashing
2023-06-23 11:54:40 +00:00
Inex Code
1664f857ea
fix(backups): Providers were not initialized corretly
2023-06-23 14:36:16 +03:00
Inex Code
e7e0fdc4a1
refactor(backups): fix typing errors
2023-06-23 12:40:10 +03:00
Inex Code
c6919293b6
refactor(api): Group mutations
...
I've learned that there is no problem in grouping mutations like we do with queries.
This is a big mistake from my side, now we have legacy not so conveniently placed endpoints.
I've grouped all mutations, left the copies of old ones flattened in the root for backwards compatibility.
We will migrate to mutation groups on client side, and backups now only use grouped mutations.
Tests are updated.
2023-06-21 06:46:56 +03:00