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

NAME

6       restic-recover  -  Recover  data  from the repository not referenced by
7       snapshots
8
9
10

SYNOPSIS

12       restic recover [flags]
13
14
15

DESCRIPTION

17       The "recover" command builds a new snapshot from all directories it can
18       find  in  the raw data of the repository which are not referenced in an
19       existing snapshot.  It can be used if, for example, a snapshot has been
20       removed by accident with "forget".
21
22
23

EXIT STATUS

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

OPTIONS

31       -h, --help[=false]      help for recover
32
33
34

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

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