As a data hoarder I have a single repo which just keep growing over the years and now reached the 22TB ( my first snapshot in this repo was done with restic v0.8.3 which was the latest at the time ), obviously I have a lot of the data which is super old and very unlikely to be accessed, these old snapshots are the one which I want to move to a cold storage rather then taking space on hot and warm storage spaces, before I do something irrecoverable I wanted to validate my thinking, my idea is the following:
I will use the restic copy command to get all my snapshots over to a cold storage device, and aside of it the restic binaries to ensure that I will be able to restore much later too ( although I am mirroring the GH repo including the releases already anyway which is part of the backup)
restic copy --from-repo hotrepo copy -r /coldstorage1
restic copy --from-repo hotrepo copy -r /coldstorage2
Next I forget the snapshots in the hot storage
restic forget -r hotrepo --host myhost --keep-last 1
restic forget -r hotrepo --host myotherhosts --keep-last 1
and as I create the cold storage repos with “–copy-chunker-params” I can at any point quickly and easily copy back my old snapshots, OR use them directly too.
Relatively simple plan but still wanted to validate the approach and if I am thinking about repos in the right way, is there any better way and what should I watch out for.