diff --git a/pkg/kopia/command/const.go b/pkg/kopia/command/const.go index c45b61b36f..58b6ab200e 100644 --- a/pkg/kopia/command/const.go +++ b/pkg/kopia/command/const.go @@ -66,6 +66,7 @@ const ( verifyFilesPercentFlag = "--verify-files-percent" ignorePermissionsError = "--ignore-permission-errors" noIgnorePermissionsError = "--no-ignore-permission-errors" + fullFlag = "--full" // Server specific addSubCommand = "add" diff --git a/pkg/kopia/command/maintenance.go b/pkg/kopia/command/maintenance.go index 3408dff460..cdaca464cc 100644 --- a/pkg/kopia/command/maintenance.go +++ b/pkg/kopia/command/maintenance.go @@ -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) }