https://rancher.com/ logo
#rke2
Title
# rke2
a

adamant-kite-43734

05/17/2022, 5:49 PM
This message was deleted.
n

narrow-jelly-24220

05/17/2022, 5:54 PM
The current features in RKE2 allows you to take snapshot either periodically or on-demand and uploads them to only one s3 bucket that you define through the parameters https://docs.rke2.io/backup_restore/#s3-compatible-api-support However you can simply run the command twice with different buckets to upload them, but I am afraid that they won't be exactly the same snapshot due to time differences
s

straight-fireman-71417

05/17/2022, 5:55 PM
And there’s no way to configure this via the RKE2 cluster config
n

narrow-jelly-24220

05/17/2022, 5:57 PM
There is, you can use the same options in the rke2 cluster config file:
Copy code
cat /etc/rancher/rke2/config.yaml

etcd-s3: true
etcd-s3-endpoint: ...
...
s

straight-fireman-71417

05/17/2022, 5:57 PM
For adding multiple snapshots?
n

narrow-jelly-24220

05/17/2022, 6:01 PM
no thats not possible at the moment
c

creamy-pencil-82913

05/18/2022, 1:44 AM
I'm curious about the use case for this. Is there something that you couldn't accomplish with s3 bucket replication?
s

straight-fireman-71417

05/18/2022, 1:46 AM
We have to run an extra process to replicate 2 buckets and we'd much rather just have it happen when the backup is taken instead of having another process monitor the bucket and sync changes to a 2nd bucket.
We're using DO spaces which doesn't have bucket replication as a feature.
4 Views