I have came across Percona xtrabackup but I am curious what is the best production deployment best practices and tools that are actually used by companies.

  • RandomDevOpsDude@programming.devM
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 months ago

    Im a bit late to the show, but I personally feel like you are heading down the wrong path. Unless you are trying to completely host locally, but for some reason want your backups in the cloud, and not simply on separate local server, you are mixing your design for seemingly no reason. If you are hosting locally, you should back up to a separate local instance.

    If you indeed are cloud based, you SHOULD NOT be hosting a DB separately. Since you specified S3, you are using AWS, and you should rather use RDS managed mySQL and should use the snapshot feature built in. ref

    • dbx12@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      I know that we specifically don’t use the snapshot feature for a reason. I think it has to do with how snapshots are restored. But I would need to ask my colleague why exactly we’re not doing it.

      We do full dumps and data-only dumps in regular intervals.