mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-20 15:04:17 +00:00
* Adding in Jekyll site | Adjusting gitignore for Jekyll build | Moving docs to site folder Signed-off-by: Lee Springer <lee@smalltalk.agency> Adding in Jekyll site | Adjusting gitignore for Jekyll build | Moving docs to site folder Signed-off-by: Lee Springer <lee@smalltalk.agency> * Restore main.go to original location Signed-off-by: Lee Springer <lee@smalltalk.agency> * Updates to footer Signed-off-by: Lee Springer <lee@smalltalk.agency> * Updates to homepage links Signed-off-by: Lee Springer <lee@smalltalk.agency> * Content updates Signed-off-by: Lee Springer <lee@smalltalk.agency>
977 B
977 B
Disaster recovery
Using Schedules and Restore-Only Mode
If you periodically back up your cluster's resources, you are able to return to a previous state in case of some unexpected mishap, such as a service outage. Doing so with Heptio Ark looks like the following:
-
After you first run the Ark server on your cluster, set up a daily backup (replacing
<SCHEDULE NAME>in the command as desired):ark schedule create <SCHEDULE NAME> --schedule "0 7 * * *"This creates a Backup object with the name
<SCHEDULE NAME>-<TIMESTAMP>. -
A disaster happens and you need to recreate your resources.
-
Update the Ark server deployment, adding the argument for the
servercommand flagrestore-onlyset totrue. This prevents Backup objects from being created or deleted during your Restore process. -
Create a restore with your most recent Ark Backup:
ark restore create --from-backup <SCHEDULE NAME>-<TIMESTAMP>