Files
auricom-home-cluster/.taskfiles/VolSync/ReplicationDestination.tmpl.yaml
2022-12-31 00:20:22 +01:00

21 lines
696 B
YAML

---
apiVersion: volsync.backube/v1alpha1
kind: ReplicationDestination
metadata:
name: "${rsrc}-${claim}-${ts}"
namespace: "${namespace}"
spec:
trigger:
manual: restore-once
restic:
repository: "${rsrc}-restic"
destinationPVC: "${claim}"
copyMethod: Direct
# IMPORTANT NOTE:
# On bootstrap set `restoreAsOf` to the time the old cluster was destroyed.
# This will essentially prevent volsync from trying to restore a backup
# from a application that started with default data in the PVC.
# Do not restore snapshots made after the following RFC3339 Timestamp.
# date --rfc-3339=seconds (--utc)
# restoreAsOf: "2022-12-27T01:00:00-05:00"