Skip to content

Commit

Permalink
explicitly request full maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
Shrekster committed Nov 7, 2024
1 parent ec63e11 commit 4d9ee0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/kopia/command/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const (
verifyFilesPercentFlag = "--verify-files-percent"
ignorePermissionsError = "--ignore-permission-errors"
noIgnorePermissionsError = "--no-ignore-permission-errors"
fullFlag = "--full"

// Server specific
addSubCommand = "add"
Expand Down
2 changes: 1 addition & 1 deletion pkg/kopia/command/maintenance.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type MaintenanceRunCommandArgs struct {
// MaintenanceRunCommand returns the kopia command to run manual maintenance
func MaintenanceRunCommand(cmdArgs MaintenanceRunCommandArgs) []string {
args := commonArgs(cmdArgs.CommandArgs)
args = args.AppendLoggable(maintenanceSubCommand, runSubCommand)
args = args.AppendLoggable(maintenanceSubCommand, runSubCommand, fullFlag)

return stringSliceCommand(args)
}

0 comments on commit 4d9ee0c

Please sign in to comment.