From 58eb2f3e80e12f8f057000af48ed9bc9a2bf82ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Pra=C5=BCak?= Date: Fri, 25 Oct 2019 13:03:58 +0200 Subject: [PATCH] Update custom-backup-and-restore.md --- .../docs/Getting Started/latest/custom-backup-and-restore.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/content/en/docs/Getting Started/latest/custom-backup-and-restore.md b/website/content/en/docs/Getting Started/latest/custom-backup-and-restore.md index fb8a4517..ca9caa4c 100644 --- a/website/content/en/docs/Getting Started/latest/custom-backup-and-restore.md +++ b/website/content/en/docs/Getting Started/latest/custom-backup-and-restore.md @@ -13,6 +13,7 @@ for the Jenkins Operator. ## Requirements Two commands (e.g. scripts) are required: + - a backup command, e.g. `backup.sh` that takes one argument, a **backup number** - a restore command, e.g. `backup.sh` that takes one argument, a **backup number** @@ -33,6 +34,7 @@ Name of the backup and restore containers can be set as necessary using In most cases it will be the same container, but we allow for less common use cases. The operator will call a backup or restore commands inside a sidecar container when necessary: + - backup command (defined in `spec.backup.action.exec.command`) will be called every `N` seconds configurable in: `spec.backup.interval` and on pod shutdown (if enabled in `spec.backup.makeBackupBeforePodDeletion`) @@ -49,6 +51,7 @@ using: `aws-cli`, `bash` and `kube2iam`. In addition to your normal `Jenkins` `CustomResource` some additional settings for backup and restore are required, e.g.: + ```yaml kind: Jenkins apiVersion: jenkins.io/v1alpha1