You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to restore a k8s cluster from one DO account into another. At the first attempt it went "fine", except I had put the source DO Token in the velero config. Hence the volumes was restored into the old account, everything else in the target account. Not satisfied with this failure I updated the token and tried again. This time the velero restore just did not complete. After trying again, possibly inducing some duplication errors, i saw some errors on the velero pod itself, indication that it could not read the snapshot:
Storage.GetSnapshot returned error: GET https://api.digitalocean.com/v2/snapshots/654fe732-f99f-11ea-bc4a-0a58ac14807e: 404
This makes sense, given that snapshots are used for the backup - the target site token would not be able to read them. How can I then backup/restore between accounts?
The second run actually ended, and among some certificate errors, I saw this:
BTW: From my testing, velero on DO seems to suit our needs. Restores across accounts is just for testing, not a requirement. Is this assumption correct, or does DO recommend a better, or more professional, tool?
The text was updated successfully, but these errors were encountered:
When restoring, the DO token is used for two things:
retrieving the volume snapshot
creating a new volume from the snapshot
DigitalOcean doesn't have a way to create a volume from a snapshot in another account. In fact, volume snapshots are completely useless apart from re-creating volumes in the same account. You can't even download them for example (these features have been requested since 2018).
Personally I'm trying to move an entire cluster from one account to another. It doesn't seem like using Velero is feasible since you can't transfer the volumes automatically from one account to the other. So, I'll be doing this:
create snapshots for each volume
create new volumes for each snapshot
attach the duplicated volumes to a droplet
scp/sftp/rsync the files from the droplet
delete the droplet, the volumes, and the snapshots
create the new cluster in the new account
re-install all my helm charts
scp/sftp/rsync into the new, empty PersistentVolumeClaims with the data downloaded in step 4
finally deleting the old cluster
All that because I can't separate billing between two clusters without moving one to another account...
I am trying to restore a k8s cluster from one DO account into another. At the first attempt it went "fine", except I had put the source DO Token in the velero config. Hence the volumes was restored into the old account, everything else in the target account. Not satisfied with this failure I updated the token and tried again. This time the velero restore just did not complete. After trying again, possibly inducing some duplication errors, i saw some errors on the velero pod itself, indication that it could not read the snapshot:
This makes sense, given that snapshots are used for the backup - the target site token would not be able to read them. How can I then backup/restore between accounts?
The second run actually ended, and among some certificate errors, I saw this:
BTW: From my testing, velero on DO seems to suit our needs. Restores across accounts is just for testing, not a requirement. Is this assumption correct, or does DO recommend a better, or more professional, tool?
The text was updated successfully, but these errors were encountered: