Replies: 4 comments 6 replies
-
For append only solution what you really need is: https://github.com/rustic-rs/rustic_server It is in "early development" though. Restic is more battle tested here: https://github.com/restic/rest-server |
Beta Was this translation helpful? Give feedback.
-
|
In addition to using some of the IIRC the These marks are automatically taken into account during |
Beta Was this translation helpful? Give feedback.
-
|
About having a true append-only repository: As @kapitainsky correctly said, this should be supported by the backend. Also, rustic has the option to configure a repo as append-only: |
Beta Was this translation helpful? Give feedback.
-
|
A remark about the bit-rot: rustic has |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
From https://rustic.cli.rs/docs/commands/forget/remove_by_policy.html:
With
rustic forget, I can use--keep-last nto keep the most recent snapshots, potentially leaving some of the oldest data packs orphaned and subject to pruning.But, do we have a
rustic forgetorrustic pruneoption to mostly turn the repository to "append-only" mode?Motivation
I have the interesting use case of backing up large amounts of AVCHD footage.
Data files are never updated, rarely deleted, but occasionally moved around—for example, to transfer old footage to the
archive/subdirectory. Here comes the bit rot problem. Imagine the following scenario:rustic backuprustic backupwill not detect this since the file's metadata remains unaffected.archivedirectory.rustic backupwill detect a new file and back up its data, including the rotten bits. It also detects the removal of the data file from its old location.rustic prunecommand, the original, unaltered data will definitely be removed from the storage, and only the altered data will remain.It would be great to have an option to ensure we never remove the initial (hopefully intact) backup of a data file. If we detect the rotten bit issue at a later point, we will still have the original content to restore the damaged file.
Ideas?
This may be as simple as a config option that forbids pruning a repository, or as complicated as keeping all snapshots that added a file (so the original version of each file will never be forgotten).
Was something like that already discussed?
Beta Was this translation helpful? Give feedback.
All reactions