stashed/stash

๐Ÿ›… Backup your Kubernetes Stateful Applications

Go

1,427

1,180 commits

updated Oct 10, 2026

See the code

README

Go Report Card Build Status Docker Pulls Slack Twitter

Stash

Stash by AppsCode is a cloud-native data backup and recovery solution for Kubernetes workloads. If you are running production workloads in Kubernetes, you might want to take backup of your disks, databases, etc. Traditional tools are too complex to set up and maintain in a dynamic compute environment like Kubernetes. Stash is a Kubernetes operator that uses restic or Kubernetes CSI Driver VolumeSnapshotter functionality to address these issues. Using Stash, you can backup Kubernetes volumes mounted in workloads, stand-alone volumes, and databases. Users may even extend Stash via addons for any custom workload.

Features

FeaturesCommunity EditionEnterprise EditionScope
Open source Stash Free for everyoneOpen Core Stash for production Enterprise workloads
Backup & Restore Workload Dataโœ“โœ“Deployment, DaemonSet, StatefulSet, ReplicaSet, ReplicationController, OpenShift DeploymentConfig
Backup & Restore Stand-alone Volume (PVC)โœ“โœ“PersistentVolumeClaim, PersistentVolume
Schedule Backup, Instant Backupโœ“โœ“Schedule through cron expression or trigger instant backup using Stash Kubernetes plugin
Pause Backupโœ“โœ“No new backup when paused.
Backup & Restore subset of filesโœ“โœ“Only backup/restore the files that matches the provided patterns
Cleanup old snapshots automaticallyโœ“โœ“Cleanup old snapshots according to different retention policies
Encryption, Deduplication (send only diff)โœ“โœ“Encrypt backed up data with AES-256. Stash only sends the changes since last backup.
CSI Driver Integrationโœ“โœ“VolumeSnapshot for Kubernetes workloads. Supported for Kubernetes v1.17.0+.
Prometheus Metricsโœ“โœ“Rich backup metrics, restore metrics and Stash operator metrics.
Securityโœ“โœ“Built-in support for RBAC, PSP and Network Policy
CLIโœ“โœ“kubectl plugin (for Kubernetes 1.12+)
Extensibility and Customizabilityโœ“โœ“Write addons for bespoke applications and customize currently supported workloads
Hooksโœ“โœ“Execute httpGet, httpPost, tcpSocket and exec hooks before and after of backup or restore process.
Cloud Storage as Backendโœ“โœ“Stores backup data in AWS S3, Minio, Rook, GCS, Azure, OpenStack Swift, Backblaze B2 and Rest Server
On-prem Storage as Backendโœ—โœ“Stores backup data in any locally mounted Kubernetes Volumes such as NFS, etc.
Backup & Restore databasesโœ—โœ“PostgreSQL, MySQL, MongoDB, Elasticsearch, Redis, MariaDB, Percona XtraDB
Auto Backupโœ—โœ“Share backup configuration across workloads using templates. Enable backup for a target application via annotation.
Batch Backup & Batch Restoreโœ—โœ“Backup and restore co-related applications (eg, WordPress server and its database) together
Point-In-Time Recovery (PITR)โœ—PlannedRestore a set of files from a time in the past.

Installation

To install Stash, please follow the guide here.

Using Stash

Want to learn how to use Stash? Please start here.

Contribution guidelines

Want to help improve Stash? Please start here.

Acknowledgement

Support

To speak with us, please leave a message on our website.

To join public discussions with the Stash community, join us in the AppsCode Slack team channel #stash. To sign up, use our Slack inviter.

To receive product announcements, follow us on Twitter.

If you have found a bug with Stash or want to request new features, please file an issue.

License

FOSSA Status

appscode
backup
cloud-native
kubernetes
restic

stashed/stash

๐Ÿ›… Backup your Kubernetes Stateful Applications

Go

1,427

1,180 commits

updated Oct 10, 2026

See the code

README

Go Report Card Build Status Docker Pulls Slack Twitter

Stash

Stash by AppsCode is a cloud-native data backup and recovery solution for Kubernetes workloads. If you are running production workloads in Kubernetes, you might want to take backup of your disks, databases, etc. Traditional tools are too complex to set up and maintain in a dynamic compute environment like Kubernetes. Stash is a Kubernetes operator that uses restic or Kubernetes CSI Driver VolumeSnapshotter functionality to address these issues. Using Stash, you can backup Kubernetes volumes mounted in workloads, stand-alone volumes, and databases. Users may even extend Stash via addons for any custom workload.

Features

FeaturesCommunity EditionEnterprise EditionScope
Open source Stash Free for everyoneOpen Core Stash for production Enterprise workloads
Backup & Restore Workload Dataโœ“โœ“Deployment, DaemonSet, StatefulSet, ReplicaSet, ReplicationController, OpenShift DeploymentConfig
Backup & Restore Stand-alone Volume (PVC)โœ“โœ“PersistentVolumeClaim, PersistentVolume
Schedule Backup, Instant Backupโœ“โœ“Schedule through cron expression or trigger instant backup using Stash Kubernetes plugin
Pause Backupโœ“โœ“No new backup when paused.
Backup & Restore subset of filesโœ“โœ“Only backup/restore the files that matches the provided patterns
Cleanup old snapshots automaticallyโœ“โœ“Cleanup old snapshots according to different retention policies
Encryption, Deduplication (send only diff)โœ“โœ“Encrypt backed up data with AES-256. Stash only sends the changes since last backup.
CSI Driver Integrationโœ“โœ“VolumeSnapshot for Kubernetes workloads. Supported for Kubernetes v1.17.0+.
Prometheus Metricsโœ“โœ“Rich backup metrics, restore metrics and Stash operator metrics.
Securityโœ“โœ“Built-in support for RBAC, PSP and Network Policy
CLIโœ“โœ“kubectl plugin (for Kubernetes 1.12+)
Extensibility and Customizabilityโœ“โœ“Write addons for bespoke applications and customize currently supported workloads
Hooksโœ“โœ“Execute httpGet, httpPost, tcpSocket and exec hooks before and after of backup or restore process.
Cloud Storage as Backendโœ“โœ“Stores backup data in AWS S3, Minio, Rook, GCS, Azure, OpenStack Swift, Backblaze B2 and Rest Server
On-prem Storage as Backendโœ—โœ“Stores backup data in any locally mounted Kubernetes Volumes such as NFS, etc.
Backup & Restore databasesโœ—โœ“PostgreSQL, MySQL, MongoDB, Elasticsearch, Redis, MariaDB, Percona XtraDB
Auto Backupโœ—โœ“Share backup configuration across workloads using templates. Enable backup for a target application via annotation.
Batch Backup & Batch Restoreโœ—โœ“Backup and restore co-related applications (eg, WordPress server and its database) together
Point-In-Time Recovery (PITR)โœ—PlannedRestore a set of files from a time in the past.

Installation

To install Stash, please follow the guide here.

Using Stash

Want to learn how to use Stash? Please start here.

Contribution guidelines

Want to help improve Stash? Please start here.

Acknowledgement

Support

To speak with us, please leave a message on our website.

To join public discussions with the Stash community, join us in the AppsCode Slack team channel #stash. To sign up, use our Slack inviter.

To receive product announcements, follow us on Twitter.

If you have found a bug with Stash or want to request new features, please file an issue.

License

FOSSA Status

appscode
backup
cloud-native
kubernetes
restic

Project health

Overall

4.3/10

Maintained

0/10

Code review

8/10
OpenSSF Scorecard

Latest release

v0.42.0 ยท Oct 24, 2025

Releases this year

1

Significant stargazers

Jan-Otto Krรถpke

741 followers ยท starred Oct 2022

Sergiusz Urbaniak

100 followers ยท starred Jul 2017

Kent Sutherland

212 followers ยท starred May 2018

Douglas Camata

251 followers ยท starred May 2026