Backup of Whole Server?

3 posts / 0 new
Last post
#1 Tue, 03/21/2017 - 07:51
cs10

Backup of Whole Server?

I was wondering if anyone can help. In the event of something breaking after performing a task on a dedicated server, I would like to be able to restore a snapshot backup of the whole thing to save having to start from scratch.

The provider of my dedicated server don't appear to offer anything.

Is there anything I can do myself to back it ALL up so I can quickly restore should I need to?

Thanks, Craig

Tue, 03/21/2017 - 14:11
Joe
Joe's picture

Webmin has several backup modules, including ones that'll backup everything on the server. But, "bare-metal" style backups don't work on a server in a colo somewhere (since you can't replace the entire OS out from under itself safely). For me, I just backup /etc, selected parts of /var (databases, specifically, but maybe other stuff), and /home. Everything else is "system" stuff that doesn't need to be backed up, as it'll be pretty much restored by a fresh OS install.

Webmin has a module specifically for backing up configuration files (/etc) called Backup Configuration Files, but I usually just use the Filesystem Backup module for this process, since it can do everything..it just needs little more configuration.

Restoring looks like:

Fresh OS is installed.

Install whatever packages I'm using (Virtualmin, for example, which installs a bunch of stuff and configures it)

Restore homes, etc, and databases.

Check the results.

This kind of thing is testable on a home virtual machine, as well (and I recommend you test your backups periodically).

--

Check out the forum guidelines!

Wed, 03/22/2017 - 08:04
unborn
unborn's picture

hi, I am with joe on this.. if your upgrade/restore would fails it can be only that you use ubuntu or you updating your server in huge jumps like ubutnu 12 to ubuntu 16 or debian 6 to debian 8.. there are apache changes as you are upgrading to 2.4.. from 2.2 and some configs was changed. I am with your hosting company - if server is un-managed - you are on your own - do your research.. if its managed - ask them for help.

Configuring/troubleshooting Debian servers is always great fun

Topic locked