Restic copy with remote repo - strategy

Hi

working my way through a new restic setup.
I have setup a restic lxc with rest_server working …
I have started to write scripts to do specific backups to the 1 repository

I also want to copy / backup to the cloud - looks like wasabi

I was thinking I could just copy all of my snapshots from the local repo to the cloud one.

But I read that it has to read and rewrite the entire snapshot and as i want to store some largist (?) snapshots I am concerned about the download and the re upload of the entire repo.

My aim was that I would purge locally and potentially purge remotely
I understand I should create them with the same chunk size !

Then reading through the forums that it might be better to just run to restic jobs 1 local and 1 remote. does that help - also when it comes time to prune don’t I have read all of the snapshot again ..

I thought about just rclone the restic repo - but I want my cloud to hold all of my long term backups and my local to hold a lot more - but maybe only for couple of months - the cloud maybe years or more - don’t think rclone can help with that.

Hm can you rephrase your question, please?

From what I understand, you want to have a local repo with all files and a remote one with only a selection. In this case, rclone/rsync won’t work, of course. But you can have two separate repos. If you backup data to the remote one, only changed and new chunks will be uploaded.

1 Like

Hi

sorry for the long delay.

Basically I want to have long term storage on the cloud and a shorter term storage on local repo.

what i have right now is

2 restic servers in my homelab - seperate storage and servers.

they both copy to cloud storage, so i use restic copy

now I also do a prune on the local repo and i run a prune on the remote - but with different values.

so for instance the cloud repos should hold say 6 montly’s whilst the local repo should only hold the last 3 monthly’s

Ok good. So what exactly is your question then?

Just make sure you use forget before you prune as that is the part where snapshots are being deleted. Pruneing then only deletes the data that is not referenced anymore.