"One click" backup and restoration

Support for webhosts that use CentOS
Post Reply
Posts: 1
Joined: 2010/07/31 14:30:59

"One click" backup and restoration

Post by rrejmkhe » 2010/07/31 15:27:53

I run CentOS 5 web server with Simple Control Panel as control panel, PHP 5, MySQL, Apache2, we rent it at GoDaddy hosting.

To make a good backup turn a really hard task to me, because it seems to be impossible to backup just "/" and seems that I must choose what to backup.

The idea is to make such a backup that, if everything or something important fails, could be, after server reinstallation, restored by pair of clicks.

Since initial server installation by GoDaddy technicians we have started near 30 websites (/home/websitename, ftp/ssh user and MySQL user account and databes for every site). Also I have made some changes, like installing Ioncube, ZendOptimizer and FastCGI (only for Python, not for PHP) and Python2.6 (2.4 is there to for not to break yum and other dependent_of_it systems).

Now I am going to use Bontmia (http://folk.uio.no/johnen/bontmia/) to make a good weekly incremental backup.

And the question, I think, is "What directories and files I must include into that backup and what to exclude from it?"

Unfortunately, I'm not linux guru and googling on that question didn't help me, that's why I'm there.

Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

"One click" backup and restoration

Post by pschaff » 2010/08/01 00:52:16

Welcome to the CentOS fora. The following reading is recommended for new users:
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14274&forum=47]Readme First[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14273&forum=47]Where to Find Answers[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=25128&forum=47]How to provide information about your system[/url]

You seem to be asking quite a lot. Expecting to be able to restore "by pair of clicks" may be a bit much but [i]could[/i] be possible; however, expecting any Linux guru to guess what needs to be backed up on your highly customized system is definitely too much. You need to find out where all data and config files are stored for the applications you are using and back those up. In many cases, backing up /etc /home and /var/www [i]might[/i] be sufficient, but expecting a hands-off restore, even after re-installing all the apps, may be too much. There may be other locations used such as /opt and /usr/local, depending on what you have installed and how. It would be prudent to at least compare config files before overwriting in case later versions have come out in the interim.

Posts: 7
Joined: 2007/10/12 21:56:36

Re: "One click" backup and restoration

Post by sparkcom » 2010/11/04 02:51:19

I use cpanel myself and it is very easy to setup automatically backup. You can backup to remote sites via ftp

The restore is also very easy. Just login to cpanel and load the tar ball and it will restore everything including database, email, sub domains, parking domains, files. Probably you can ask godaddy.com to switch your control panel to cpanel?


Posts: 1
Joined: 2011/01/15 21:05:14

Re: "One click" backup and restoration

Post by SteveVai » 2011/01/15 21:08:30

Is this similar to Wordpress with the one click installation?

Post Reply

Return to “CentOS 5 - Webhosting Support”