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

NAME

6       restic-diff - Show differences between two snapshots
7
8
9

SYNOPSIS

11       restic diff snapshot-ID snapshot-ID [flags]
12
13
14

DESCRIPTION

16       The "diff" command shows differences from the first to the second
17       snapshot. The first characters in each line display what has happened
18       to a particular file or directory:
19
20
21              · +  The item was added
22
23              · -  The item was removed
24
25              · U  The metadata (access mode, timestamps, ...) for the item
26                was updated
27
28              · M  The file's content was modified
29
30              · T  The type was changed, e.g. a file was made a symlink
31
32
33
34

OPTIONS

36       -h, --help[=false]
37           help for diff
38
39
40       --metadata[=false]
41           print changes in metadata
42
43
44

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

119       restic(1)
120
121
122
123generated by `restic generate`     Jan 2017                   restic backup(1)
Impressum