Search The Hostwinds Guides Knowledge Base

Viewing Snapshots with Restic

Share This Article [TheChamp-Sharing]

Restic will display all of your available snapshots that your server has taken, along with the date and timestamp, directory, tags, and Snapshot ID.

As with any interaction with Restic, you must first initialize the repo to perform actions within restic, to do so follow this guide.

To view your snapshots, simply use the command below –

restic snapshots

An example of this can be seen below –

# restic snapshots
password is correct
ID Date Host Tags Directory
----------------------------------------------------------------------
9ba42540 2018-02-22 12:59:30 <span class="crayon-v">hwkb</span><span class="crayon-sy">.</span><span class="crayon-v">hostwindsdns</span><span class="crayon-sy">.</span><span class="crayon-e">com</span> HW_Backup /
a62c854b 2018-02-22 13:17:17 <span class="crayon-v">hwkb</span><span class="crayon-sy">.</span><span class="crayon-v">hostwindsdns</span><span class="crayon-sy">.</span><span class="crayon-e">com</span> /home
cd65c94c 2018-02-22 13:17:20 <span class="crayon-v">hwkb</span><span class="crayon-sy">.</span><span class="crayon-v">hostwindsdns</span><span class="crayon-sy">.</span><span class="crayon-e">com</span> /var
55232edb 2018-02-22 13:17:28&nbsp;<span class="crayon-v">hwkb</span><span class="crayon-sy">.</span><span class="crayon-v">hostwindsdns</span><span class="crayon-sy">.</span><span class="crayon-e">com</span> /usr
05a19c30 2018-02-22 15:20:08 <span class="crayon-v">hwkb</span><span class="crayon-sy">.</span><span class="crayon-v">hostwindsdns</span><span class="crayon-sy">.</span><span class="crayon-e">com</span> /etc
4b47a2a9 2018-02-22 15:20:11 <span class="crayon-v">hwkb</span><span class="crayon-sy">.</span><span class="crayon-v">hostwindsdns</span><span class="crayon-sy">.</span><span class="crayon-e">com</span> /etc
21084a20 2018-02-22 15:20:15 <span class="crayon-v">hwkb</span><span class="crayon-sy">.</span><span class="crayon-v">hostwindsdns</span><span class="crayon-sy">.</span><span class="crayon-e">com</span> /home
3ff01847 2018-02-22 15:20:19 <span class="crayon-v">hwkb</span><span class="crayon-sy">.</span><span class="crayon-v">hostwindsdns</span><span class="crayon-sy">.</span><span class="crayon-e">com</span> /usr
c6bda3fb 2018-02-22 15:24:36 <span class="crayon-v">hwkb</span><span class="crayon-sy">.</span><span class="crayon-v">hostwindsdns</span><span class="crayon-sy">.</span><span class="crayon-e">com</span> /home
----------------------------------------------------------------------
9 snapshots