From 38763ed919f659f0b4a174fe75dff0319e917015 Mon Sep 17 00:00:00 2001 From: Nicco Date: Tue, 24 Dec 2019 17:50:44 +0100 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index ab497c5..c051094 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ Autorestic is a wrapper around the amazing [restic](https://restic.net/). While * [Hooks](#before--after-hooks) * [Backends](#-backends) * [Commands](#-commands) +* [Examples](#examples) ## 🛳 Installation @@ -317,6 +318,22 @@ Uninstall both restic and autorestic Upgrades both restic and autorestic automagically +## 🐣 Examples + +### List all the snapshots for all the backends + +``` +autorestic -a exec snapshots +``` + +### Unlock a locked repository + +⚠️ Only do this if you know what you are doing. E.g. if you accidentally cancelled a running operation + +``` +autorestic -b my-backend exec unlock +``` + ## Contributors This amazing people helped the project!