View Full Version : cPanel daily/weekly/monthly backup?
Has anyone ran across this yet? If so, can you share a review of this company?
http://www.cpanelbackup.com/
:)
JoshPet
2003-10-02, 00:53 AM
Wow - haven't used them....
But it just proves if there's a slight need for something, someone will come up with a website to sell the service. ;)
:)
Originally posted by JoshPet
Wow - haven't used them....
But it just proves if there's a slight need for something, someone will come up with a website to sell the service. ;)
:)
Looks that way. Seems like that could be a pretty good business (not to mention quite a money maker) to check further in to.
Jeanna
2003-10-02, 09:18 AM
I'll be interested to see what people say about their experience with them. The idea of sending someone my data, username and password, though, is pretty scary
dstjohn
2003-10-03, 19:30 PM
Yeah i dont think sending someone all my cpanel info is such a good idea, it almost had the smell of a scam.
If you need to backup your cpanel accounts remotely, there is already a cpanel backp util that does this, in the whm, it creates the directorys located @
/backup/cpbackup
/backup/cpbackup/daily
/backup/cpbackup/weekly
/backup/cpbackup/monthly
One way to do this remotely is to use rsync
http://samba.anu.edu.au/rsync/
Standard cpanel and Redhat distros already come with rsync.
Here is an example i use on one server
----Server to be backed up (rsync daemonized)
config file: /etc/rsyncd.conf
--
[cpanel_backup]
path = /backup/cpbackup/daily
comment = Accounts
max connections = 1
syslog facility = local5
pid file = /var/run/rsyncd.pid
hosts allow = 10.1.1.11 (whatever your ip is you want to allow the connection from)
--
then fire off rsync daemon on the background with the following command
/usr/bin/rsync --daemon
Additonaly you can have the rsync server start up everytime the server is restarted, just add the folling line to your /etc/rc.local file
#rsync daemon
/usr/bin/rsync --daemon
Now to connect to the rsync server remotely on another server
here is how we do that.
First you want to create the directory where you want to store the cpanel accounts, so do the following
cd /
mkdir backup
mkdir /backup/cpanel_backup
Next we want to write our bash script to grab accounts off our remote cpanel server.
cd /backup
pico cp_backup.sh
copy and paste the below editing according to your server settings.
----bash script
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
#cpanel server 1
rsync -rbav rsync://yourserverurl.com/cpanel_backup /backup/cpanel_backup
--end bash script
while in pico type ctrl+o then ctrl+x
set permissions on the newly created bash script
chmod 755 cp_backup.sh
Now we want to add this script to our cron tab
0,30 0,10,20 * * * /backup/cp_backup.sh > /backup/rsync-backup.log 2>&1
All done, you should now have your own secure backup of your cpanel accounts onto a remote server, without giving your system info to someone else
NOTE: This is just an example of how to remote backup any type of files etc... from one server to another.
settings will vary from server to server and i take 0 responsibility if it takes down the server and burns it to the ground :)
chakorules
2003-10-04, 22:10 PM
Wholly smacker ronnins and cheese!
Somone PIN this topic!
A+++
fishfreek
2003-10-16, 11:27 AM
JS, maybe you could implment this for your backup solution.
JohnScott
2003-10-16, 11:28 AM
Fish, I look at that code and the blood rushes from my head. But you can do it. :D
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.