Bare Metal Backup (and restore)
-
I'm seeking some opinions about using bare metal backups.
What I have inherited for our production environment (IIS, SQL Server, and REDIS), is a backup that does file level backups of the data used by IIS (folders where images, etc. are store), the backup files generated by SQL Server, and the folder that has the REDIS executable and config files. A full backup is done weekly and incremental backups done daily (3 media rotation, which rotates weekly).
If everything blew up, the recovery would look like this.
- Reinstall Windows Server on the boxes.
- Configure IIS and re-deploy our web application (all of which is done through scripts).
- Reinstall and configure SQL Server
- Install Yosemite Server Backup and restore the aforementioned files.
- Restore SQL server database / reinstall REDIS service.
This seems like a good bit of steps to get back up and running. I remember asking the original designer (friend, former boss / first IT "mentor") why the backup is configured the way it is. From what I can remember of the conversation (been a while, so I may be recalling incorrectly), he grumbled about "problems" he's had in the past with bare metal restores, and that for our environment it's just easier to backup the data and reinstall / reconfigure servers.
When you folks talk of backups, are you of the mind of backing up everything, and in a situation where everything is lost, you simply restore this one backup using whatever software, and you have a fully functional server again? Or do you have some other method of restoring the software on the server (install the OS, run install / config scripts), install your backup software, and restore data? Or is the general opinion "both / it depends?"
-
Virtualize the server. Then your entire backup/restore procedure involves 1 file, with the right backup solution. Veeam and Unitrends both have free editions available.
-
I've used Veeam Endpoint a bit, which handles bare metal and is also free. Might be worth trying it out.
-
@Carnival-Boy said in Bare Metal Backup (and restore):
I've used Veeam Endpoint a bit, which handles bare metal and is also free. Might be worth trying it out.
+1
It also does file-level recovery as well.
-
If everything blew up... wouldn't you install Hyper-V or VMware or whatever and THEN recover? Just because they screwed up and installed bare metal in the past doesn't mean you would recover with the same mistakes in place. You'd fix that during the restore, right?
-
@EddieJennings Basically, this backup method it a solid 100% guaranteed method because you are capturing backups of all data in a stopped state. No worries about SQL server database states, etc. You are only backing up the backup files made by the SQL application itself.
This is a perfectly valid scenario.
Using a full image backup is dangerous if it does not talk to the database process and tell it that it is going to run a backup. Because then the Database files are not in a state to be read. This is probably what happened to your mentor/boss/whatever.
-
@EddieJennings said in Bare Metal Backup (and restore):
.... he grumbled about "problems" he's had in the past with bare metal restores, and that for our environment it's just easier to backup the data and reinstall / reconfigure servers.
If your builds are scripted or handled via state files, then this makes sense. If not, it doesn't.
-
@scottalanmiller said in Bare Metal Backup (and restore):
If everything blew up... wouldn't you install Hyper-V or VMware or whatever and THEN recover? Just because they screwed up and installed bare metal in the past doesn't mean you would recover with the same mistakes in place. You'd fix that during the restore, right?
Ideally, yes. These are three separate machines. Another project on my list is to see what would be involved in turning them into one machine with VMs.
-
@EddieJennings said in Bare Metal Backup (and restore):
@scottalanmiller said in Bare Metal Backup (and restore):
If everything blew up... wouldn't you install Hyper-V or VMware or whatever and THEN recover? Just because they screwed up and installed bare metal in the past doesn't mean you would recover with the same mistakes in place. You'd fix that during the restore, right?
Ideally, yes. These are three separate machines. Another project on my list is to see what would be involved in turning them into one machine with VMs.
Consolidation is a totally different matter. I'm just saying proper virtualization as a recovery plan. You'd never actually consider restoring to bare metal, right?
-
@scottalanmiller said in Bare Metal Backup (and restore):
@EddieJennings said in Bare Metal Backup (and restore):
@scottalanmiller said in Bare Metal Backup (and restore):
If everything blew up... wouldn't you install Hyper-V or VMware or whatever and THEN recover? Just because they screwed up and installed bare metal in the past doesn't mean you would recover with the same mistakes in place. You'd fix that during the restore, right?
Ideally, yes. These are three separate machines. Another project on my list is to see what would be involved in turning them into one machine with VMs.
Consolidation is a totally different matter. I'm just saying proper virtualization as a recovery plan. You'd never actually consider restoring to bare metal, right?
Initially, I'd think yes. However, it seems like this would be the better method (for recovery).
- Install Hyper-V on each server.
- Create a VM on each Hyper-V host that would be whatever server it was.
- Configure services, restore data.
- Get a solution that backups the VMs themselves going forward.
-
@EddieJennings said in Bare Metal Backup (and restore):
@scottalanmiller said in Bare Metal Backup (and restore):
@EddieJennings said in Bare Metal Backup (and restore):
@scottalanmiller said in Bare Metal Backup (and restore):
If everything blew up... wouldn't you install Hyper-V or VMware or whatever and THEN recover? Just because they screwed up and installed bare metal in the past doesn't mean you would recover with the same mistakes in place. You'd fix that during the restore, right?
Ideally, yes. These are three separate machines. Another project on my list is to see what would be involved in turning them into one machine with VMs.
Consolidation is a totally different matter. I'm just saying proper virtualization as a recovery plan. You'd never actually consider restoring to bare metal, right?
Initially, I'd think yes. However, it seems like this would be the better method (for recovery).
- Install Hyper-V on each server.
- Create a VM on each Hyper-V host that would be whatever server it was.
- Configure services, restore data.
- Get a solution that backups the VMs themselves going forward.
Correct. Just as you never install anything bare metal, you never restore anything bare metal.
-
@EddieJennings said in Bare Metal Backup (and restore):
- Get a solution that backups the VMs themselves going forward.
Agent based is fine too. But there are nice benefits to agentless as well.
-
@scottalanmiller said in Bare Metal Backup (and restore):
@EddieJennings said in Bare Metal Backup (and restore):
- Get a solution that backups the VMs themselves going forward.
Agent based is fine too. But there are nice benefits to agentless as well.
Agent or agentless really does not matter as long as the agentless can reach into the VM and tell SQL to shut up for a minute I need to make a snap, and then move along.
-
This post is deleted! -
@JaredBusch said in Bare Metal Backup (and restore):
@EddieJennings Basically, this backup method it a solid 100% guaranteed method because you are capturing backups of all data in a stopped state. No worries about SQL server database states, etc. You are only backing up the backup files made by the SQL application itself.
This is a perfectly valid scenario.
Using a full image backup is dangerous if it does not talk to the database process and tell it that it is going to run a backup. Because then the Database files are not in a state to be read. This is probably what happened to your mentor/boss/whatever.
True I second this, cause he is focusing on backing up files, but the downside is restoring from DR will take some time for the stuff to be ready.
Having VM export feature + his current file backup will speed the DR restore process greatly.