-
Notifications
You must be signed in to change notification settings - Fork 1.7k
restic-rewrite: change snapshot metadata #2654
Description
Output of restic version
restic 0.9.6 compiled with go1.13.4 on linux/amd64
What should restic do differently? Which functionality do you think we should add?
restic should have the ability to change the metadata of existing snapshots. Properties that should be modifiable include: Paths, Host, ID, Time, and Tags.
What are you trying to do?
Since moving to restic, I have converted previous system backups (from different backup solutions) into restic snapshots with the appropriate metadata. Unfortunately I made a few mistakes with some of the snapshots' Times and Paths. If I'd like to correct those mistakes now, I'd need to restore each snapshot, remove it from restic, and back it up again with the correct metadata.
This also has the unfortunate side effect that when I specify --path, these older snapshots aren't selected for listing for forgetting.