Solved How do you backup your VPS servers?
-
@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.
-
@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.
-
@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.
-
@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.
-
@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
-
@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.
-
So I guess a better question would be what are my options? What are the pros and cons for each option?
-
@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?
-
@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.
-
@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...
-
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.
-
But you could script stuff to send to S3 or other cloud service, to email the files, etc. Tons of options.
-
@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.
-
@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.
-
@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.
-
@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?
-
@scottalanmiller said:
@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?
Our opinions. He stated that in the OP.
-
Has this been sufficiently answered at this point? Or should we provide more info?