Restore your OpenShift cluster.
OpenShift Version |
---|
3.9 |
3.10 |
3.11 |
Extra Vars | Description | Default |
---|---|---|
restore_root | Where to get the backup content | /restore |
backup_prefix | Which backup to get |
Component | Variable | Default | Tags |
---|---|---|---|
Node / Master content | backup_node_content | masters nodes |
|
etcd | - | etcd snapshot and status | etcd |
More details on openshift-backup components
ansible-playbook -i inventory playbooks/openshift-restore/config.yaml -e backup_prefix=2019-02-28@13
Be sure the env AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are set
ansible-playbook -i inventory playbooks/openshift-restore/config.yaml -e backup_prefix=2019-02-28@13 -e aws_s3=true -e aws_s3_backup_bucket=eu-central-1-dev-openlab-red-backup -e aws_region=eu-central-1
ansible-playbook -i inventory playbooks/openshift-restore/config.yaml -e backup_prefix=2019-02-28@13 -t nodes
ansible-playbook -i inventory playbooks/openshift-restore/config.yaml -e backup_prefix=2019-02-28@13 -t masters -l masters
ansible-playbook -i inventory playbooks/openshift-restore/config.yaml -e backup_prefix=2019-02-28@13 -t etcd -l etcd