Houkime
|
9f096ed2c0
|
feature(backups): actually dealing with situation when the provider is not configured
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
cd32aa83b7
|
refactor(backups): NoneBackupper class for those cases when we do not know
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
a56461fb96
|
refactor(backups): make a dir for backuppers
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
806fb3c84b
|
feature(backups): resetting json config too
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
1c96743c5d
|
test(backups): test reinitting repository
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
38de01da8b
|
refactor(backups): cleanup localfile-specific logic
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
8475ae3375
|
refactor(backups): make localfile repos normal
|
2023-07-17 16:05:00 +03:00 |
|
Inex Code
|
93b98cd4fd
|
fix(backups): Handle orphaned snapshots
|
2023-07-17 16:05:00 +03:00 |
|
Inex Code
|
421c92d12e
|
fix(backups): return type of encryption key
|
2023-07-17 16:05:00 +03:00 |
|
Inex Code
|
c603394449
|
fix(backups): try to actually get backup configuration
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
42a5b6f70a
|
test(backups): test backup API - backing up
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
ad130e392c
|
feature(backups): check available space before restoring
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
780c12df6c
|
refactor(backups): expect one more error of restic json output parsing
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
6da0791b47
|
feature(backups): integration between restore and jobs
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
44e45a5124
|
BREAKING CHANGE(backups): support only individual service backup requests(combinable)
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
550f7fa620
|
refactor(backups): introduce get_all_snapshots()
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
cc073155db
|
feature(backups): feature(backups): return a snapshot from start_backup
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
891993e4cd
|
feature(backups): a graphql call to invalidate cache
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
7e022e0cfe
|
feature(backups): graphql mutation for restore
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
44ddd27e84
|
fix(backups): return correct snapshots per service
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
761b6be4e5
|
refactor(backups): global snapshots
|
2023-07-17 16:05:00 +03:00 |
|
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
|
d10bf99927
|
fix(backups): make sure location and credentials get properly passed around
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
c8512eacdc
|
refactor(backups): refactor realtime updating
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
d38b8180cb
|
feature(backups): realtime progress updates of backups
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
afdbf01cfc
|
refactor(backups): use single repo and multiplex by tags
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
ecf44e5169
|
feature(backups): deny adding a backup job if another one is already queued
|
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
|
05f2cc3f14
|
refactor(backups): cleanup unused imports in tasks
|
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
|
fa86c45bd0
|
feature(backups): simplest jobs intergration in tasks: created and finished
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
4572c00640
|
feature(backups): restore task
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
d3f9ce7bf5
|
test(backups): test local secrets
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
ebeb76149b
|
refactor(services): make local secret setting public
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
3aefbaaf0b
|
refactor(backups): actually accept a list of folders
|
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
|
d57dc3f7d2
|
test(backups): test that we do return snapshot on backup
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
35a4fec9d4
|
feature(backups): return snapshot info from backup function
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
a134009165
|
feature(backups): huey task to back up
|
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
|
0847e16089
|
feat(backups): local secret generation and storage
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
60dcde458c
|
feat(backups): sizing up snapshots
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
1d403b0e94
|
test(backups): test restoring a file
|
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
|
ff6bc2a142
|
feat(backups): a better error on failed snapshot retrieval
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
e56907f2cd
|
feat(backups): return proper snapshot structs when listing
|
2023-07-17 16:05:00 +03:00 |
|
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 |
|