delete-snapshot-batching #73

Merged
inex merged 7 commits from delete-snapshot-batching into master 2023-11-20 14:01:53 +02:00
Collaborator
  • add better support for mass-removinng snapshots
  • make trimming the snapshots asynchronous
* add better support for mass-removinng snapshots * make trimming the snapshots asynchronous
houkime added 6 commits 2023-11-17 17:54:42 +02:00
inex reviewed 2023-11-17 18:09:06 +02:00
@ -397,9 +397,8 @@ class Backups:
# TODO: Can be optimized since there is forgetting of an array in one restic op

TODO can be removed

TODO can be removed
inex marked this conversation as resolved
@ -617,8 +632,7 @@ class Backups:
"""deliberately erase all snapshots we made"""
# there is no dedicated optimized command for this,

dead comment?

dead comment?
inex marked this conversation as resolved
@ -7,0 +6,4 @@
from selfprivacy_api.graphql.common_types.backup import (
RestoreStrategy,
BackupReason,
AutobackupQuotas,

Unused import

Unused import
inex marked this conversation as resolved
@ -104,2 +110,4 @@
"""
job = Jobs.add(
name="trimming autobackup snapshots",

Should start with a capital letter

Should start with a capital letter
inex marked this conversation as resolved
houkime added 1 commit 2023-11-20 13:30:53 +02:00
continuous-integration/drone/push Build is failing Details
993b58d52d
beauty(backup): remove stray comments and imports, format
inex approved these changes 2023-11-20 13:38:05 +02:00
inex merged commit 860071e046 into master 2023-11-20 14:01:53 +02:00
inex deleted branch delete-snapshot-batching 2023-11-20 14:01:53 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy-rest-api#73
There is no content yet.