From 93bf0388a4c55de5ac6d2faf0a30d1e42b4ffa3e Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Thu, 22 Apr 2021 10:00:52 +0200 Subject: [PATCH] add force flag description --- docs/markdown/cli/restore.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/markdown/cli/restore.md b/docs/markdown/cli/restore.md index 18c966c..9ba3e58 100644 --- a/docs/markdown/cli/restore.md +++ b/docs/markdown/cli/restore.md @@ -1,11 +1,13 @@ # Restore ```bash -autorestic restore [-l, --location] [--from backend] [--to ] +autorestic restore [-l, --location] [--from backend] [--to ] [-f, --force] ``` This will restore all the locations to the selected target. If for one location there are more than one backends specified autorestic will take the first one. +The `--to` path das to be empty as no data will be overwritten by default. If you are sure you can pass the `-f, --force` flag and the data will be overwritten in the destination. However note that this will overwrite all the data existent in the backup, not only the 1 file that is missing e.g. + ## Example ```bash