1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 11:26:00 +02:00

velero: add page (#3153)

This commit is contained in:
Ivan Aracki 2019-07-01 16:08:38 +02:00 committed by Owen Voke
parent 13a11782e8
commit 556b410c8b

24
pages/common/velero.md Normal file
View file

@ -0,0 +1,24 @@
# velero
> Backup and migrate Kubernetes applications and their persistent volumes.
> More information: <https://github.com/heptio/velero>.
- Create a backup containing all resources:
`velero backup create {{backup_name}}`
- List all backups:
`velero backup get`
- Delete a backup:
`velero backup delete {{backup_name}}`
- Create a weekly backup, each living for 90 days (2160 hours):
`velero schedule create {{schedule_name}} --schedules="{{@every 7d}}" --ttl {{2160h0m0s}}`
- Create a restore from the latest successful backup triggered by specific schedule:
`velero restore create --from-schedule {{schedule_name}}`