forked from TrueCloudLab/restic
document restore --overwrite
This commit is contained in:
parent
ba53a2abb5
commit
e1ec60c2ee
2 changed files with 17 additions and 1 deletions
|
@ -85,6 +85,15 @@ disk space. Note that the exact location of the holes can differ from those in
|
||||||
the original file, as their location is determined while restoring and is not
|
the original file, as their location is determined while restoring and is not
|
||||||
stored explicitly.
|
stored explicitly.
|
||||||
|
|
||||||
|
Restoring in-place
|
||||||
|
------------------
|
||||||
|
|
||||||
|
By default, the ``restore`` command overwrites already existing files in the target
|
||||||
|
directory. This behavior can be configured via the ``--overwrite`` option. The
|
||||||
|
default is ``--overwrite always``. To only overwrite existing files if the file in
|
||||||
|
the snapshot is newer, use ``--overwrite if-newer``. To never overwrite existing files,
|
||||||
|
use ``--overwrite never``.
|
||||||
|
|
||||||
Restore using mount
|
Restore using mount
|
||||||
===================
|
===================
|
||||||
|
|
||||||
|
|
|
@ -502,11 +502,14 @@ Status
|
||||||
+----------------------+------------------------------------------------------------+
|
+----------------------+------------------------------------------------------------+
|
||||||
|``files_restored`` | Files restored |
|
|``files_restored`` | Files restored |
|
||||||
+----------------------+------------------------------------------------------------+
|
+----------------------+------------------------------------------------------------+
|
||||||
|
|``files_skipped`` | Files skipped due to overwrite setting |
|
||||||
|
+----------------------+------------------------------------------------------------+
|
||||||
|``total_bytes`` | Total number of bytes in restore set |
|
|``total_bytes`` | Total number of bytes in restore set |
|
||||||
+----------------------+------------------------------------------------------------+
|
+----------------------+------------------------------------------------------------+
|
||||||
|``bytes_restored`` | Number of bytes restored |
|
|``bytes_restored`` | Number of bytes restored |
|
||||||
+----------------------+------------------------------------------------------------+
|
+----------------------+------------------------------------------------------------+
|
||||||
|
|``bytes_skipped`` | Total size of skipped files |
|
||||||
|
+----------------------+------------------------------------------------------------+
|
||||||
|
|
||||||
Summary
|
Summary
|
||||||
^^^^^^^
|
^^^^^^^
|
||||||
|
@ -520,10 +523,14 @@ Summary
|
||||||
+----------------------+------------------------------------------------------------+
|
+----------------------+------------------------------------------------------------+
|
||||||
|``files_restored`` | Files restored |
|
|``files_restored`` | Files restored |
|
||||||
+----------------------+------------------------------------------------------------+
|
+----------------------+------------------------------------------------------------+
|
||||||
|
|``files_skipped`` | Files skipped due to overwrite setting |
|
||||||
|
+----------------------+------------------------------------------------------------+
|
||||||
|``total_bytes`` | Total number of bytes in restore set |
|
|``total_bytes`` | Total number of bytes in restore set |
|
||||||
+----------------------+------------------------------------------------------------+
|
+----------------------+------------------------------------------------------------+
|
||||||
|``bytes_restored`` | Number of bytes restored |
|
|``bytes_restored`` | Number of bytes restored |
|
||||||
+----------------------+------------------------------------------------------------+
|
+----------------------+------------------------------------------------------------+
|
||||||
|
|``bytes_skipped`` | Total size of skipped files |
|
||||||
|
+----------------------+------------------------------------------------------------+
|
||||||
|
|
||||||
|
|
||||||
snapshots
|
snapshots
|
||||||
|
|
Loading…
Reference in a new issue