1restic backup(1) restic backup(1)
2
3
4
6 restic-rebuild-index - Build a new index
7
8
9
11 restic rebuild-index [flags]
12
13
14
16 The "rebuild-index" command creates a new index based on the pack files
17 in the repository.
18
19
20
22 Exit status is 0 if the command was successful, and non-zero if there
23 was any error.
24
25
26
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
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 --json[=false] set output mode to JSON for commands that support
49 it
50
51
52 --key-hint="" key ID of key to try decrypting first (default:
53 $RESTIC_KEY_HINT)
54
55
56 --limit-download=0 limits downloads to a maximum rate in KiB/s.
57 (default: unlimited)
58
59
60 --limit-upload=0 limits uploads to a maximum rate in KiB/s. (de‐
61 fault: unlimited)
62
63
64 --no-cache[=false] do not use a local cache
65
66
67 --no-lock[=false] do not lock the repository, this allows some op‐
68 erations on read-only repositories
69
70
71 -o, --option=[] set extended option (key=value, can be specified
72 multiple times)
73
74
75 --password-command="" shell command to obtain the repository pass‐
76 word from (default: $RESTIC_PASSWORD_COMMAND)
77
78
79 -p, --password-file="" file to read the repository password from
80 (default: $RESTIC_PASSWORD_FILE)
81
82
83 -q, --quiet[=false] do not output comprehensive progress report
84
85
86 -r, --repo="" repository to backup to or restore from (default:
87 $RESTIC_REPOSITORY)
88
89
90 --repository-file="" file to read the repository location from
91 (default: $RESTIC_REPOSITORY_FILE)
92
93
94 --tls-client-cert="" path to a file containing PEM encoded TLS
95 client certificate and private key
96
97
98 -v, --verbose[=0] be verbose (specify multiple times or a level
99 using --verbose=n, max level/times is 3)
100
101
102
104 restic(1)
105
106
107
108generated by restic generate Jan 2017 restic backup(1)