Web Hosting Talk







View Full Version : Is cPanel backup to home PC possible?


bimmer
12-03-2003, 03:03 PM
I have a linux box with cpanel and I am trying to figure out a cost effective weekly remote backup scheme.

I have a home PC with lots of disk space (>100gb) that is always connected via cable modem (3mb downstream, 512kb upstream speed). It's running Windows 98


Is there a relatively painless way to setup automated remote backup of my server to my home pc ?


I'd love to hear your ideas...

xyzulu
12-03-2003, 03:11 PM
http://www.iopus.com/

Use the downloaded. Works great. For SQl backups as well.
http:// username:password@domain.com:2082/getsqlbackup/dbname.gz
http://username:pass@domain.com:2082/getbackup/

bimmer
12-03-2003, 03:16 PM
Not sure how iOpus works, do I have to do alot of configuration on my own?

Is this what I would use? "iOpus File & Web Page Downloader" ?


Will this allow automated download of all server files necessary to restore to any cpanel server? (mysql databases, etc))

xyzulu
12-03-2003, 03:20 PM
Yes, yes and yes

bimmer
12-03-2003, 03:28 PM
great, great, great! THANKS!


I'm doing daily backups to a second hard drive. So I should probably put the backed up files there in a password protected directory. I take it iopus would be able to handle password protected directories?

And are you using iOpus File & Web Page Downloader or iOpus Internet Macros ?

And this will be fully automated? (ie, I don't have to be physically present to authorize download etc...)


Thanks alot for the suggestion and your help!

xyzulu
12-03-2003, 03:30 PM
Correct, that is why you use the username and pass in the llink to the file.
This is the important part: http:// username:password@domain.com:2082/getsqlbackup/dbname.gz
http://username:pass@domain.com:2082/getbackup/

sightz
12-03-2003, 04:43 PM
Cool! I have set these as bookmarks in my browser. Whenever I think of it I can DL a backup with a single click!

Do you know if /getbackup/ includes everything - email aliases, sql dbs, etc? Is it the same file that is stored on your server when you click "Generate/Download a Full Backup"

Do you know of a way to download a backup of all sql databases without individually naming each one?

xyzulu
12-03-2003, 04:51 PM
Getbackup includes everything.
Separate SQL - don't know.

Remember once you have downloaded it you can use winrar to open the file and check.

sightz
12-03-2003, 05:06 PM
Originally posted by blb Remember once you have downloaded it you can use winrar to open the file and check. [/B]

I did exactly that, but the SQL databases don't show anywhere.

Actually I just compared a /getbackup/ file with a "Generate/Download a Full Backup" file and they are very different.

The "Generate/Download a Full Backup" has folders for cp, cron, fp, homedir, logs, mysql, etc

The getbackup one just looks like I copied everything from the home directory of my server. I have a feeling the getbackup method is quite incomplete and if one were to try to restore a site with it you might be surprised.

I wonder if there is any way to make a full and complete backup, like the one cPanel lets you save in the home directory or ftp somewhere, but to automatically download it to a local PC?

Magdalena
12-03-2003, 05:10 PM
if it saves it in an ftp dir, make an account which access's that dir, then just login and save the backup to your local PC when needed.

Kaumil
12-03-2003, 05:24 PM
You'd be using Bandwidth, just make sure you know that.

sightz
12-03-2003, 06:16 PM
Originally posted by Magdalena
just login and save the backup to your local PC when needed.

That's what I do now, but I was hoping for something more one-click or scriptable.

sightz
12-03-2003, 06:19 PM
Originally posted by HP-Kaumil
You'd be using Bandwidth, just make sure you know that.

Using bandwidth, of course. But if the only backup you have is on the server that just died, all the bandwidth in the world won't help you then :bawling:

Using bandwidth for boring things like backups is a cost of doing business.

ExtremeIS
12-03-2003, 08:34 PM
You can use the cpanel remote backup via ftp, you can set it to do it weekly on a schedule, just set up an ftp server on your home pc and it'll take care of it for you.

R.P>

Reddrake
12-03-2003, 09:00 PM
For the home FTP Server I would suggest filezilla.

http://www.sourceforge.net

Filezilla is also a good ftp client ;)

Kaumil
12-03-2003, 10:03 PM
Originally posted by sightz.com
Using bandwidth, of course. But if the only backup you have is on the server that just died, all the bandwidth in the world won't help you then :bawling:

Using bandwidth for boring things like backups is a cost of doing business.

No doubt. Just making sure you know! Backups are good to keep. I use to run a content site (freeware related), and my host lost my files, and I was dead beat! I miss my old freeware site :(

BassX
12-07-2003, 12:36 PM
Another way to go if you set up an ftp server on your home computer is to write a script that backs up your site and then ftp's it to your home computer. Then just set the script up as a cronjob.

mindless
12-07-2003, 03:22 PM
write a cron job script or download one on the web but they do have them and it is a very good way to back up

nogi
12-07-2003, 04:58 PM
Ops - maybe I should have opened another thread? I just wondered how advisable it is sending the username and password unencrypted in an URL. It isn't control panel access off course.

John