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

NAME

6       restic-rebuild-index - Build a new index
7
8
9

SYNOPSIS

11       restic rebuild-index [flags]
12
13
14

DESCRIPTION

16       The "rebuild-index" command creates a new index based on the pack files
17       in the repository.
18
19
20

EXIT STATUS

22       Exit status is 0 if the command was successful, and non-zero  if  there
23       was any error.
24
25
26

OPTIONS

28       -h, --help[=false]      help for rebuild-index
29
30
31       --read-all-packs[=false]      read all pack files to generate new index
32       from scratch
33
34
35

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

116       restic(1)
117
118
119
120generated by restic generate       Jan 2017                   restic backup(1)
Impressum