ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How do you backup your VPS servers?

    Scheduled Pinned Locked Moved Solved IT Discussion
    vpsbackupscloud storagecentos 7
    29 Posts 6 Posters 5.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @IRJ
      last edited by

      @IRJ said:

      I built a new VPS on Digital Ocean and I would like to start backing it up. Digital Ocean offers weekly backups in their plan, but I am interested to see what solutions some of you use your VPS servers.

      Image backups are a big piece of a typical VPS strategy. We use that. What you typically do in a DO style VPS scenario is leverage the image backups and then take any special backups that you need (like a database backup) and use rsync or something similar to ship key data backups off as needed.

      1 Reply Last reply Reply Quote 4
      • DashrenderD
        Dashrender
        last edited by

        how do you take image backups?

        scottalanmillerS 1 Reply Last reply Reply Quote 1
        • scottalanmillerS
          scottalanmiller @Dashrender
          last edited by

          @Dashrender said:

          how do you take image backups?

          DO does this for you, just don't turn it off.

          DashrenderD IRJI 2 Replies Last reply Reply Quote 2
          • DashrenderD
            Dashrender @scottalanmiller
            last edited by

            @scottalanmiller said:

            @Dashrender said:

            how do you take image backups?

            DO does this for you, just don't turn it off.

            I thought it was mentioned DO only did backups weekly?

            scottalanmillerS IRJI 2 Replies Last reply Reply Quote 0
            • IRJI
              IRJ @scottalanmiller
              last edited by

              @scottalanmiller said:

              @Dashrender said:

              how do you take image backups?

              DO does this for you, just don't turn it off.

              It's an extra service, but it's only 10% extra so It is worth doing. You can also take snapshots. I am not sure how long they retain them.

              scottalanmillerS 1 Reply Last reply Reply Quote 1
              • scottalanmillerS
                scottalanmiller @Dashrender
                last edited by

                @Dashrender said:

                @scottalanmiller said:

                @Dashrender said:

                how do you take image backups?

                DO does this for you, just don't turn it off.

                I thought it was mentioned DO only did backups weekly?

                Yes, a weekly image of your system. It would be pretty rare that your images would need to be updated more often than that. Your data might need to be backed up often, maybe every five minutes, but you can do that in different ways depending on what you need to back up. It really isn't a generic answer beyond that - you'd want to get into specifics. Like what if you have MySQL and need daily backups or it is a file server and you need changes every fifteen minutes.

                1 Reply Last reply Reply Quote 1
                • IRJI
                  IRJ @Dashrender
                  last edited by

                  @Dashrender said:

                  @scottalanmiller said:

                  @Dashrender said:

                  how do you take image backups?

                  DO does this for you, just don't turn it off.

                  I thought it was mentioned DO only did backups weekly?

                  For a webserver that is all you need. Wordpress will be backed up seperately, daily.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @IRJ
                    last edited by

                    @IRJ said:

                    @scottalanmiller said:

                    @Dashrender said:

                    how do you take image backups?

                    DO does this for you, just don't turn it off.

                    It's an extra service, but it's only 10% extra so It is worth doing. You can also take snapshots. I am not sure how long they retain them.

                    If you are using tools like Chef, Puppet or Ansible as they are intended then image backups wouldn't be necessary. Depends if you are treating it like VPS or treating it like DevOps Cloud.

                    IRJI 1 Reply Last reply Reply Quote 1
                    • IRJI
                      IRJ @scottalanmiller
                      last edited by

                      @scottalanmiller said:

                      @IRJ said:

                      @scottalanmiller said:

                      @Dashrender said:

                      how do you take image backups?

                      DO does this for you, just don't turn it off.

                      It's an extra service, but it's only 10% extra so It is worth doing. You can also take snapshots. I am not sure how long they retain them.

                      If you are using tools like Chef, Puppet or Ansible as they are intended then image backups wouldn't be necessary. Depends if you are treating it like VPS or treating it like DevOps Cloud.

                      I am not really sure how to handle this

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @IRJ
                        last edited by

                        @IRJ said:

                        @scottalanmiller said:

                        @IRJ said:

                        @scottalanmiller said:

                        @Dashrender said:

                        how do you take image backups?

                        DO does this for you, just don't turn it off.

                        It's an extra service, but it's only 10% extra so It is worth doing. You can also take snapshots. I am not sure how long they retain them.

                        If you are using tools like Chef, Puppet or Ansible as they are intended then image backups wouldn't be necessary. Depends if you are treating it like VPS or treating it like DevOps Cloud.

                        I am not really sure how to handle this

                        Well the thread has VPS in the title, so I'm expecting that this doesn't apply to you but I wanted to throw this out there as it is an important consideration for backups and thinking about these things. I've got an Ansible lab project coming up soon and I'll demo some of this thinking there.

                        1 Reply Last reply Reply Quote 0
                        • IRJI
                          IRJ
                          last edited by

                          So I guess a better question would be what are my options? What are the pros and cons for each option?

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @IRJ
                            last edited by

                            @IRJ said:

                            So I guess a better question would be what are my options? What are the pros and cons for each option?

                            Let's start with your workload. What are you running and what are your recovery needs?

                            IRJI 1 Reply Last reply Reply Quote 0
                            • IRJI
                              IRJ @scottalanmiller
                              last edited by

                              @scottalanmiller said:

                              @IRJ said:

                              So I guess a better question would be what are my options? What are the pros and cons for each option?

                              Let's start with your workload. What are you running and what are your recovery needs?

                              I am running a Wordpress site. My recovery needs would be a week on the server and daily on Wordpress\database.

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @IRJ
                                last edited by

                                @IRJ said:

                                @scottalanmiller said:

                                @IRJ said:

                                So I guess a better question would be what are my options? What are the pros and cons for each option?

                                Let's start with your workload. What are you running and what are your recovery needs?

                                I am running a Wordpress site. My recovery needs would be a week on the server and daily on Wordpress\database.

                                Okay, this should be pretty easy then. WordPress has built in backup tools available. Use those to automate getting a database backup to the filesystem. No need to know MySQL or MariaDB at all.

                                Now the hard part... to where to send the backup...

                                coliverC 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller
                                  last edited by

                                  Do you have another server or any sort or a desktop or something? Where would you want to store the database backup? I would typically start by looking to Rsync the files daily off to another UNIX server or NAS device somewhere.

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    But you could script stuff to send to S3 or other cloud service, to email the files, etc. Tons of options.

                                    1 Reply Last reply Reply Quote 0
                                    • coliverC
                                      coliver @scottalanmiller
                                      last edited by coliver

                                      @scottalanmiller said:

                                      @IRJ said:

                                      @scottalanmiller said:

                                      @IRJ said:

                                      So I guess a better question would be what are my options? What are the pros and cons for each option?

                                      Let's start with your workload. What are you running and what are your recovery needs?

                                      I am running a Wordpress site. My recovery needs would be a week on the server and daily on Wordpress\database.

                                      Okay, this should be pretty easy then. WordPress has built in backup tools available. Use those to automate getting a database backup to the filesystem. No need to know MySQL or MariaDB at all.

                                      Now the hard part... to where to send the backup...

                                      Updraft Plus is a cool Wordpress plugin that backs up the entire site to other cloud hosted file storage. I have mine being backed up to Google Drive.

                                      JaredBuschJ IRJI 2 Replies Last reply Reply Quote 3
                                      • JaredBuschJ
                                        JaredBusch @coliver
                                        last edited by

                                        @coliver said:

                                        @scottalanmiller said:

                                        @IRJ said:

                                        @scottalanmiller said:

                                        @IRJ said:

                                        So I guess a better question would be what are my options? What are the pros and cons for each option?

                                        Let's start with your workload. What are you running and what are your recovery needs?

                                        I am running a Wordpress site. My recovery needs would be a week on the server and daily on Wordpress\database.

                                        Okay, this should be pretty easy then. WordPress has built in backup tools available. Use those to automate getting a database backup to the filesystem. No need to know MySQL or MariaDB at all.

                                        Now the hard part... to where to send the backup...

                                        Updraft Plus is a cool Wordpress plugin that backs up the entire site to other cloud hosted file storage. I have mine being backed up to Google Drive.

                                        I just set that plugin up. Thanks for mentioning it.

                                        1 Reply Last reply Reply Quote 0
                                        • IRJI
                                          IRJ @coliver
                                          last edited by

                                          @coliver said:

                                          @scottalanmiller said:

                                          @IRJ said:

                                          @scottalanmiller said:

                                          @IRJ said:

                                          So I guess a better question would be what are my options? What are the pros and cons for each option?

                                          Let's start with your workload. What are you running and what are your recovery needs?

                                          I am running a Wordpress site. My recovery needs would be a week on the server and daily on Wordpress\database.

                                          Okay, this should be pretty easy then. WordPress has built in backup tools available. Use those to automate getting a database backup to the filesystem. No need to know MySQL or MariaDB at all.

                                          Now the hard part... to where to send the backup...

                                          Updraft Plus is a cool Wordpress plugin that backs up the entire site to other cloud hosted file storage. I have mine being backed up to Google Drive.

                                          Yeah I am already doing that. I use it for a couple sites.

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @IRJ
                                            last edited by

                                            @IRJ said:

                                            @coliver said:

                                            @scottalanmiller said:

                                            @IRJ said:

                                            @scottalanmiller said:

                                            @IRJ said:

                                            So I guess a better question would be what are my options? What are the pros and cons for each option?

                                            Let's start with your workload. What are you running and what are your recovery needs?

                                            I am running a Wordpress site. My recovery needs would be a week on the server and daily on Wordpress\database.

                                            Okay, this should be pretty easy then. WordPress has built in backup tools available. Use those to automate getting a database backup to the filesystem. No need to know MySQL or MariaDB at all.

                                            Now the hard part... to where to send the backup...

                                            Updraft Plus is a cool Wordpress plugin that backs up the entire site to other cloud hosted file storage. I have mine being backed up to Google Drive.

                                            Yeah I am already doing that. I use it for a couple sites.

                                            Then what more were you seeking? 🙂

                                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post