Alternate RestoreSession format #2

Open
opened 2021-02-21 15:12:37 +00:00 by jandre · 1 comment
Owner

Currently, the RestoreSession references a BackupSession and uses the information from the BackupSession and the associated BackupConfiguration to do the restore.

This implies the RestoreSession must have access to the referenced BackupSession which limits the restore possibility. We cannot restore into another or a new cluster.

I have to find a way to make the restore independant from the backup.

Currently, the RestoreSession references a BackupSession and uses the information from the BackupSession and the associated BackupConfiguration to do the restore. This implies the RestoreSession must have access to the referenced BackupSession which limits the restore possibility. We cannot restore into another or a new cluster. I have to find a way to make the restore independant from the backup.
jandre changed title from Alternate to Alternate RestoreSession format 2021-02-21 15:18:12 +00:00
jandre self-assigned this 2021-02-21 15:19:05 +00:00
Author
Owner

hmmmm.

Actually, maybe it makes more sense to stay with the reference to the BackupSession.
If we move to a new environment, we re-create everything:

  • the deployment, statefulset, ...
  • the Repo, Functions, BackupConfiguration

And then we can also create a BackupSession with a YAML file that references the snapshots for the different steps.

For instance:
kubectl -n nextcloud get bs -o yaml backupsession-backupconf-nextcloud-1614560145 > backupsession.yaml

Remove the unecessary tags and lines and import it in the new environment:
kubectl apply -f backupsession.yaml

hmmmm. Actually, maybe it makes more sense to stay with the reference to the BackupSession. If we move to a new environment, we re-create everything: + the deployment, statefulset, ... + the Repo, Functions, BackupConfiguration And then we can also create a BackupSession with a YAML file that references the snapshots for the different steps. For instance: ```kubectl -n nextcloud get bs -o yaml backupsession-backupconf-nextcloud-1614560145 > backupsession.yaml``` Remove the unecessary tags and lines and import it in the new environment: ```kubectl apply -f backupsession.yaml```
jandre added the
enhancement
label 2021-04-27 20:22:48 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jandre/formol#2
No description provided.