stashed / stash

🛅 Backup your Kubernetes Stateful Applications
https://stash.run
Other
1.31k stars 86 forks source link

Pull mode or remote backup #979

Open micheelengronne opened 4 years ago

micheelengronne commented 4 years ago

As far as I understand there is no implementation of a system to take backups from a remote kubernetes cluster and pull its content back to a local Swift or S3 compatible.

Am I wrong ?

To do backups in that way increases the security as the kubernetes cluster that is backed up has no access to the backups themselves. It is a safeguard against compromised kubernetes clusters (one of the usecases of a backup). It can help to prevent the VFEmail crisis

hossainemruz commented 4 years ago

Am I wrong ?

That's true. We currently don't have this feature.

Btw, I have few questions regarding this FR.

  1. Where Stash will run? In your local machine or in a separate Kubernetes cluster?
  2. How schedule backup should work? Where the cron should run?
micheelengronne commented 4 years ago

From my POV:

  1. I would say both to widen the usecases.
  2. The cron should run in the separate Kubernetes cluster (as a kube CronJob ?) or locally to avoid the possibility that the hacker removes it in the compromised cluster.