mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 12:55:18 +00:00
doc: describe how to handle rewrite encoding error
This commit is contained in:
parent
97eb81564a
commit
a45d21e2b9
@ -305,6 +305,13 @@ In order to preview the changes which ``rewrite`` would make, you can use the
|
|||||||
modifying the repository. Instead restic will only print the actions it would
|
modifying the repository. Instead restic will only print the actions it would
|
||||||
perform.
|
perform.
|
||||||
|
|
||||||
|
.. note:: The ``rewrite`` command verifies that it does not modify snapshots in
|
||||||
|
unexpected ways and fails with an ``cannot encode tree at "[...]" without loosing information``
|
||||||
|
error otherwise. This can occur when rewriting a snapshot created by a newer
|
||||||
|
version of restic or some third-party implementation.
|
||||||
|
|
||||||
|
To convert a snapshot into the format expected by the ``rewrite`` command
|
||||||
|
use ``restic repair snapshots <snapshotID>``.
|
||||||
|
|
||||||
Modifying metadata of snapshots
|
Modifying metadata of snapshots
|
||||||
===============================
|
===============================
|
||||||
|
Loading…
Reference in New Issue
Block a user