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]
29           help for rebuild-index
30
31
32       --read-all-packs[=false]
33           read all pack files to generate new index from scratch
34
35
36

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

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