Oh, interesting, that’s actually a bug in restic: the
snapshots command displays the time stamp as it is, without converting it to the local time zone first. The timestamps for your two snapshots have a different timezone:
-04:00 (EST?) and
I’ve written a small program which parses the timestamps:
2018-11-01 20:00:07.539578 -0400 -0400
2018-11-02 01:00:07.539578 +0100 CET
2018-11-02 01:00:00.93344552 +0000 UTC
2018-11-02 02:00:00.93344552 +0100 CET
The first line is the timestamp as has been parsed, the second line is the formatting restic applies for the
snapshots command. You can see that it’s 8pm for the first snapshot, and 1am for the second snapshot, that’s just the verbatim values from the time stamp. It looks like as if the snapshots have been taken 5 hours apart.
The third line prints the timestamp converted to local time (Central European Time for me). When you then take the values it makes sense, both snapshots are an hour apart, as you can see in the fourth line.
I’ll fix this and make the
snapshots command (and the others concerning time stamps) display the local time.