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