Server administration software like Cpanel, Plesl, Webmin etc have already their backup solutions. But they are runned mostly once a week or max a day because of performance reasons. Let say we just want to backup all of our mysql-databases every 2 hours.
To do this:
Create a directory like /backup/mysql
Save code below under something like backup_mysql.php
Chmod it to 755
Run it manually or with cronjobs /root/scripts/backup_mysql.php
// use this if your php.ini does not allow shell etc #!/usr/bin/php -n
This is a small benchmark test / performance comparison with PHP 5 between ThePlanet, Hosteurope and Hetzner Servers. Servers are not same, and there are RAM difference but in this test RAM plays no big role, but CPU plays. The server from Hosteurope is a virtual server with min. 2GB ram guarantie. The other two are dedicated root servers. ThePlanet's OS is Redhat enterprise, The other two are using Debian.
Hetzner : Intel® Core™ i7-920 Quad-Core with 8GB Ram
Hosteurope: 8 Cores Intel® Xeon® with min 2GB or more
ThePlanet: 2x DualCore Intel(R) Xeon(TM) CPU 3.40GHz with 2GB
I have a problem: I have a website which is older than 10 years. I was using a cpanel-whm server till 4 years ago. Than I changed to a Debian Lamp server with webmin. And upgraded the server last month. I had migrated cpanel-backups to webmin and after upgrade migrated webmin-backups to new webmin on new server. Awstats is not checked and not to see under logs tab. But when I try to check and activate Awstats under "edit virtual server" tab, I get this error: Failed to modify server : AWstats reporting is already enabled for this domain.
CafeWebmaster.com(CW) is a free online community for webdevelopers and beginners. Anybody can share their code, articles, tips, tutorials, code-examples or other webdesign related material on the site. Newbies can submit their questions and reply to existing questions. CW does not guarantee or warrant reliability of code, data and information published on the site. Use the site on your own risk. The site takes no responsibility of direct or indirect loss or any kind of harm to its users. The site also doesn't take responsibility of infected files or source code with any kind of infection or viruses, worms, spywares, malwares, trojan horses. CW reserves the right to edit, move, or delete any of content for any reason.