I’v read the whole manual, But got some puzzle about the restic repo data safety.
-
The manual said a check should be performed once a while, but it didn’t say what should the user do to recover the rest data if a irreversible damage were made. So
-
Say because of some device fault, a few of the repo data block were missed, does the
rebuild-index
make sure the rest part of files successfully restored? -
Say because of some device fault or virus damage, a few of the repo data block were severely altered, the
restic check
is good, therestic check --read-data
is not good, when usingrestic restore
, an error would pop out. How can the user locate the bad data blocks and remove them thenrebuild-index
, so the rest of the data can be restored?
so the fundamental question is, can restic restore the remained data if some part of the whole repo were missing or damaged?
-
-
If I added many folder into the repo, many snapshots were made, how can I know how much size it grew after each backup? so that I can remove the unnecessary large garbage backups to clean the space.