Skip to content

Commit

Permalink
Support Velero 1.4 (#981)
Browse files Browse the repository at this point in the history
* Bump velero to 1.4 and it's plugin to 1.1.0

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Better grammar

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Address insensitive language and add self-signed certificate

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Remove velero cilium CRDs known issue

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Remove limitation on velero restoring version constraint

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Markus Napp <mnapp@suse.com>
  • Loading branch information
JenTing Hsiao and Markus Napp authored Oct 21, 2020
1 parent 5a99761 commit af40c84
Show file tree
Hide file tree
Showing 6 changed files with 158 additions and 137 deletions.
14 changes: 8 additions & 6 deletions adoc/admin-velero-backup.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -108,20 +108,22 @@ velero backup create backup-1 --selector app=elasticsearch-master
** Location
+
Pass `--storage-location` to specify where the backup stores to. For example, if we have HA object storage server called master and slave respectively.
Pass `--storage-location` to specify where to store the backup.
For example, if we have an HA object storage server called default and secondary respectively.
+
[source,bash]
----
# Create a backup to the master storage server
velero backup create backup2master --storage-location master
# Create a backup to the default storage server
velero backup create backup2default --storage-location default
# Create a backup to the slave storage server
velero backup create backup2slave --storage-location slave
# Create a backup to the secondary storage server
velero backup create backup2secondary --storage-location secondary
----
** Garbage Collection
+
Pass `--ttl` to specify how long the backup should be kept, after that, the backup will be dumped into garbage (deleted). The default time for a backup to exist before it is deleted is 720 hours (30 days).
Pass `--ttl` to specify how long the backup should be kept. After the specified time the backup will be deleted.
The default time for a backup before deletion is 720 hours (30 days).
** Exclude Specific Items from Backup
+
Expand Down
Loading

0 comments on commit af40c84

Please sign in to comment.