- Notifications
You must be signed in to change notification settings - Fork84
🛅 Backup your Kubernetes Stateful Applications
License
stashed/stash
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 usesrestic 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 viaaddons for any custom workload.
Features | Community Edition | Enterprise Edition | Scope |
---|---|---|---|
Open source Stash Free for everyone | Open 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 throughcron 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 differentretention 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 | ✓ | ✓ | ExecutehttpGet ,httpPost ,tcpSocket andexec 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) | ✗ | Planned | Restore a set of files from a time in the past. |
To install Stash, please follow the guidehere.
Want to learn how to use Stash? Please starthere.
Want to help improve Stash? Please starthere.
- Many thanks toAlexander Neumann forRestic project.
To speak with us, please leave a message onour website.
To join public discussions with the Stash community, join us in theAppsCode Slack team channel#stash
. To sign up, use ourSlack inviter.
To receive product announcements, follow us onTwitter.
If you have found a bug with Stash or want to request new features, pleasefile an issue.
About
🛅 Backup your Kubernetes Stateful Applications