v0.9.0-rc.2 comes with some bug fixes and improvements since
v0.9.0-rc.1 release. Please, try it and give us your valuable feedback. To install, please follow the guide here.
Retention Policy for VolumeSnapshot: We have implemented retention policy for VolumeSnapshot. Now, your old VolumeSnapshots will be automatically garbage collected according to retention policy. Ref: stashed/stash#926.
BackupSession API Revision: Now a
BackupSession can be triggered via
spec.invoker instead of
spec.backupConfiguration field. This breaking api change is done in preparation for upcoming
BackupBatch crd support. Ref: stashed/stash#890, stashed/stash#931, stashed/docs#44.
spec.backupConfigurationin BackupSession stashed/docs#44
v0.9.0-rc.1 comes with documentation and respective charts for addons to backup databases. It also comes with some bug fixes since
v0.9.0-rc.0 release. We have also introduced a
kubectl plugin for Stash in this release. Please, try it and give us your valuable feedback. To install, please follow the guide here.
Addon Support: Stash addons enable users to extend it’s functionality to backup/restore any type of custom workloads. This release includes respective documentations and charts for
Elasticsearch databases. This enables Stash to backup various KubeDB supported databases. You can also write your own addon to backup your custom target. We will include a guide on how to build addon for Stash in a future release.
kubectl Plugin (Alpha): We have introduced an experimental Stash
kubectl plugin. This will help you to unlock repository, trigger instant backup and copy various Stash resources between namespace and more.
Introduce BackupHistoryLimit: Now, you can configure how many
BackupSession and associate resources (Job, PVC etc) to keep for each backup target. By default, Stash will keep only the history of last backup for debugging purpose. You can configure it using
spec.backupHistoryLimit field of
Introduce InterimVolumeTemplate: We have introduced a new field called
InterimVolumeTemplate that can be used to pass a PVC template for storing temporary backup/restore data before uploading to backup or injecting into target. For more details, please visit here.
subPath in Auto-Backup Annotation: Now, you can provide
subPath in auto-backup annotation. For more details, please check here.
Use Kubebuilder to Generate CRDs: We have moved to kubernetes-sigs/kubebuilder for generating CRDs for Stash.
andionice` is missing in distroless image #882
IONICEinto distroless image #883
We are very excited to announce Stash
v0.9.0-rc.0. This release introduces
v1beta1 API and a design overhaul. The new API and design enable Stash to support the use cases that were not possible before. This makes Stash more powerful, transparent, extensible and customizable. We are expecting that this new API will graduate to GA after some maturity. Check out the new architecture from here.
This release introduces lots of new features and changes. A summary of these new features is given below:
The following custom resources have been introduced in this release:
In addition to improving existing features, this release introduces the following new features:
Backup & Restore Stand-alone PVC : Stash now supports taking backup of a stand-alone PVC. To learn more about how Stash takes backup of a stand-alone PVC, please visit here.
Backup & Restore Databases : Stash now can backup PostgreSQL, MongoDB, Elasticsearch and MySQL databases in both stand-alone and clustered mode. To learn more about how Stash takes backup of a database, please visit here.
Instant Backup : You can now trigger a backup instantly. To learn how, please visit here.
Auto Backup : Now, Stash will let you configure a common template to backup similar types of target. You will require to add just a few annotations to the targeted workload to enable backup for it. Want to know how? Please visit here.
Support PSP Enabled Cluster : Stash now supports PSP enabled cluster.
Improved Prometheus Metrics : We have improved Prometheus metrics in this release. Check out the new metrics from here.
Support REST Server as Backend : Stash now supports REST server as backend. To learn how to configure REST backend, please visit here.
KubeDB Integration : Stash now seemingly integrates with KubeDB. It is now recommended tool to backup & restore KubeDB supported databases.
For a complete feature list of this release, please visit here.
appscode/stashrepository into multiple repositories (stashed/stash, stashed/installer, stashed/docs). This enables us to push emergency fixes to installer and docs without requiring to cut a new release.
Makefilebased build process. This makes building Stash from source code simple and easy (#800).
failurePolicy: Ignorein webhooks for Kubernetes official resources. So, Stash will no longer cause any problem for creating new Kubernetes resources when it is not ready (#726).
--rbacflag. Now, Stash will always start in RBAC enabled mode (#761).
If you are upgrading Stash from
0.8.3 to this version, pay attention to the following things:
What will work:
What will not work:
Restic) with the new API (
RestoreSession) will not work.
BackupConfiguration) with the old API (
Recovery) will not work.
BackupConfiguration) to backup into already existing Repository will not work. Stash will upload all targeted data again into the backend. Old snapshots will not be usable any more.
ionicefor backup command #366
bsshort name for BackupSession #859 (tamalsaha)
make container#818 (tamalsaha)