I am setting up scripts to do nightly back to a machine at another location over a relatively slow internet link. So I want to avoid unnecessary traffic.
I am doing the initial backup to an external hard drive and will carry that to the destination machine and then will create a new snapshot daily. I planned to run a script weekly (or bi-weekly) to prune necessary snapshots and validate that the saved data is correct on the server.
restic forget is fast to run remotely but what about
restic prune? It seems if it is rewriting whole packs then it would be re-transferring the bulk of the data, right? So should I run that on the destination server? Yes, I realize that means I need to break security and store the password on the server as well.
What about data scrubbing? Should the server just validate pack checksums or should I use
restic check? And again check needs lots of bandwidth, right?
Does the rest-server put enough smarts at the destination of a connection to allow processing data for these maintenance tasks on the destination server?