Skip to content

Commit

Permalink
fix(backup): Fix full backup request (#7932) (#7933)
Browse files Browse the repository at this point in the history
The ForceFull parameter was not being passed in the backup request queue,
causing all the backups to be incremental despite the request with `forceFull=True`.
This commit fixes this issue.

(cherry picked from commit 8d08cc3)
  • Loading branch information
ahsanbarkati committed Jun 28, 2021
1 parent 01ee32f commit 8b9e923
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions graphql/admin/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func resolveBackup(ctx context.Context, m schema.Mutation) (*resolve.Resolved, b
SecretKey: input.SecretKey,
SessionToken: input.SessionToken,
Anonymous: input.Anonymous,
ForceFull: input.ForceFull,
}
taskId, err := worker.Tasks.Enqueue(req)
if err != nil {
Expand Down

0 comments on commit 8b9e923

Please sign in to comment.