5 comments

  • bryanlarsen 1707 days ago
  • glesperance 1707 days ago
    We've been using k8s-snapshots[1] Very easy to setup and use. Very simple to add snapshots too.

    How does this compare?

    [1] https://github.com/miracle2k/k8s-snapshots

    • tobru 1707 days ago
      * K8up uses Restic, k8s-snapshots Tarsnap

      * K8up doesn't do snapshots but file-based backups supporting any RWX storage and to some extend RWO (still to be improved)

      * K8up can do pre-backup tasks like dumping a database to have application consistent backups

      * K8up has a great amount of monitoring backed in for providing a good overview via Prometheus if the backups really work

      * K8up can send webhooks about backups available to allow integrations into third party control panels. F.e. Lagoon[1] uses it

      [1] https://github.com/amazeeio/lagoon

      • rsync 1707 days ago
        "* K8up uses Restic ..."

        Does that mean I could use the SFTP transport of restic and send my K8up generated backups to any old SFTP server ?

        • tobru 1706 days ago
          In theory yes, we need to implement support for more remotes. Please open a GitHub issue so we can take care.
    • bryanlarsen 1707 days ago
      That only works on AWS & GCE. A restic based operator will work anywhere.
  • tamalsaha001 1707 days ago
    You can also try Stash https://github.com/stashed/stash . This has been in use since 2017 and always worked with Restic.

    Disclaimer: My company, AppsCode is the primary developer behind Stash.

    • tobru 1707 days ago
      Stash was an inspiration for K8up. Unlike Stash, K8up is non-intrusive and doesn't add additional containers to Pods. It runs as k8s jobs besides the application Pods.
    • SomaticPirate 1707 days ago
      How does this compare? It appears to only backup chosen apps, not necessarily a whole cluster?
      • tobru 1707 days ago
        K8up currently is optimized for PVs and will probably be able to backup objects in the future. It's not meant for cluster disaster recovery or full-cluster backup. (Deployment artefacts should anyways come from GitOps)
      • tamalsaha001 1706 days ago
        SomaticPirate, Stash can backup individual workloads, PV/PVC or any application (Databases or custom including K8s cluster) with the most recent release.
  • yebyen 1707 days ago
    I actually have a cluster that I need to tear down and do disaster recovery practice on, but didn't know how, so I'm still paying for the "important data" that I generated on it.

    I will use it tonight, thank you friend!

  • joseph 1707 days ago
    Cool. I was about to hack a CronJob to take some backups with pg_dump, but I'm going to give this a try.