1restic backup(1)                                              restic backup(1)
2
3
4

NAME

6       restic-repair-packs - Salvage damaged pack files
7
8
9

SYNOPSIS

11       restic repair packs [packIDs...] [flags]
12
13
14

DESCRIPTION

16       WARNING:  The  CLI  for  this  command  is experimental and will likely
17       change in the future!
18
19
20       The "repair packs" command extracts intact  blobs  from  the  specified
21       pack files, rebuilds the index to remove the damaged pack files and re‐
22       moves the pack files from the repository.
23
24
25

EXIT STATUS

27       Exit status is 0 if the command was successful, and non-zero  if  there
28       was any error.
29
30
31

OPTIONS

33       -h, --help[=false]      help for packs
34
35
36

OPTIONS INHERITED FROM PARENT COMMANDS

38       --cacert=[]      file to load root certificates from (default: use sys‐
39       tem certificates or $RESTIC_CACERT)
40
41
42       --cache-dir=""      set the cache directory. (default: use  system  de‐
43       fault cache directory)
44
45
46       --cleanup-cache[=false]      auto remove old cache directories
47
48
49       --compression=auto      compression mode (only available for repository
50       format version 2), one of (auto|off|max) (default: $RESTIC_COMPRESSION)
51
52
53       --insecure-tls[=false]      skip TLS certificate verification when con‐
54       necting to the repository (insecure)
55
56
57       --json[=false]       set  output mode to JSON for commands that support
58       it
59
60
61       --key-hint=""      key ID of key  to  try  decrypting  first  (default:
62       $RESTIC_KEY_HINT)
63
64
65       --limit-download=0       limits  downloads  to a maximum rate in KiB/s.
66       (default: unlimited)
67
68
69       --limit-upload=0      limits uploads to a maximum rate in  KiB/s.  (de‐
70       fault: unlimited)
71
72
73       --no-cache[=false]      do not use a local cache
74
75
76       --no-lock[=false]      do not lock the repository, this allows some op‐
77       erations on read-only repositories
78
79
80       -o, --option=[]      set extended option (key=value, can  be  specified
81       multiple times)
82
83
84       --pack-size=0       set target pack size in MiB, created pack files may
85       be larger (default: $RESTIC_PACK_SIZE)
86
87
88       --password-command=""      shell command to obtain the repository pass‐
89       word from (default: $RESTIC_PASSWORD_COMMAND)
90
91
92       -p,  --password-file=""       file to read the repository password from
93       (default: $RESTIC_PASSWORD_FILE)
94
95
96       -q, --quiet[=false]      do not output comprehensive progress report
97
98
99       -r, --repo=""      repository to backup to or  restore  from  (default:
100       $RESTIC_REPOSITORY)
101
102
103       --repository-file=""       file  to  read  the repository location from
104       (default: $RESTIC_REPOSITORY_FILE)
105
106
107       --retry-lock=0s      retry to lock the  repository  if  it  is  already
108       locked, takes a value like 5m or 2h (default: no retries)
109
110
111       --tls-client-cert=""       path  to  a  file containing PEM encoded TLS
112       client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
113
114
115       -v, --verbose[=0]      be verbose (specify multiple times  or  a  level
116       using --verbose=n``, max level/times is 2)
117
118
119

SEE ALSO

121       restic-repair(1)
122
123
124
125generated by restic generate       Jan 2017                   restic backup(1)
Impressum