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 [flags] snapshot-ID snapshot-ID
12
13
14

DESCRIPTION

16       The "diff" command shows differences from the first to the second snap‐
17       shot. The first characters in each line display what has happened to  a
18       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

EXIT STATUS

36       Exit status is 0 if the command was successful, and non-zero  if  there
37       was any error.
38
39
40

OPTIONS

42       -h, --help[=false]      help for diff
43
44
45       --metadata[=false]      print changes in metadata
46
47
48

OPTIONS INHERITED FROM PARENT COMMANDS

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