drtanz
10-13-2007, 02:35 PM
hi i would like to have a backup system that would periodically connect to all the accounts in my reseller package and backup the files there. could anyone suggest an ideal solution? thanks
![]() | View Full Version : solution for keeping site backups drtanz 10-13-2007, 02:35 PM hi i would like to have a backup system that would periodically connect to all the accounts in my reseller package and backup the files there. could anyone suggest an ideal solution? thanks sTag-Dan 10-13-2007, 07:24 PM www.bqbackup.com drtanz 10-14-2007, 07:04 AM i was looking for some software that would work on my pc and download the files to my hard disk, any such software? JimBob45506 10-14-2007, 07:45 AM Might try "Googling" for "website backups". There are some options there. I use the cPanel Backups to download each of my client's home directories backup. If I need to restore it, it is in the format the server will understand. Good luck in your search. :) drtanz 10-14-2007, 08:52 AM i would like something like cp site saver but preferably not a subscription service or freeware ldcdc 10-14-2007, 09:26 PM http://clonepanel.com/ might be able to do what you're after. I didn't take more than a superficial look at it though. You could contact the developer via PM once you have 5 posts, foobic (http://www.webhostingtalk.com/member.php?u=106394), and ask for clarifications. Nnyan 10-15-2007, 06:37 PM Try this script, forget where I found it but it's all over the place (save it as fullbackup.php in your top directory and run it via a cron): // PHP script to allow periodic cPanel backups automatically, optionally to a remote FTP server. // This script contains passwords. KEEP ACCESS TO THIS FILE SECURE! (place it in your home dir, not /www/) // ********* THE FOLLOWING ITEMS NEED TO BE CONFIGURED ********* // Info required for cPanel access $cpuser = "username"; // Username used to login to CPanel $cppass = "password"; // Password used to login to CPanel $domain = "example.com"; // Domain name where CPanel is run $skin = "x"; // Set to cPanel skin you use (script won't work if it doesn't match). Most people run the default x theme // Info required for FTP host $ftpuser = "ftpusername"; // Username for FTP account $ftppass = "ftppassword"; // Password for FTP account $ftphost = "ftp.example.com"; // Full hostname or IP address for FTP host $ftpmode = "ftp"; // FTP mode ("ftp" for active, "passiveftp" for passive) // Notification information $notifyemail = "you@example.com"; // Email address to send results // Secure or non-secure mode $secure = 0; // Set to 1 for SSL (requires SSL support), otherwise will use standard HTTP // Set to 1 to have web page result appear in your cron log $debug = 0; // *********** NO CONFIGURATION ITEMS BELOW THIS LINE ********* if ($secure) { $url = "ssl://".$domain; $port = 2083; } else { $url = $domain; $port = 2082; } $socket = fsockopen($url,$port); if (!$socket) { echo "Failed to open socket connection… Bailing out!\n"; exit; } // Encode authentication string $authstr = $cpuser.":".$cppass; $pass = base64_encode($authstr); $params = "dest=$ftpmode&email=$notifyemail&server=$ftphost&user=$ftpuser&pass=$ftppass&submit=Generate Backup"; // Make POST to cPanel fputs($socket,"POST /frontend/".$skin."/backup/dofullbackup.html?".$params." HTTP/1.0\r\n"); fputs($socket,"Host: $domain\r\n"); fputs($socket,"Authorization: Basic $pass\r\n"); fputs($socket,"Connection: Close\r\n"); fputs($socket,"\r\n"); // Grab response even if we don't do anything with it. while (!feof($socket)) { $response = fgets($socket,4096); if ($debug) echo $response; } fclose($socket); ?> emaildrop 10-20-2007, 12:09 PM I there any full complete tutorials about back up here? Littleoak 10-20-2007, 11:28 PM BQBackup looks interesting. How exactly does their service work? ServerOrigin 10-21-2007, 04:09 AM RSYNC - just a cronjob nightly that pushes configured directories or whole drives to your backup. Works seamlessly :) Highly recommended. capnqwest 10-21-2007, 05:15 PM bqbackup used to be awesome but they've had chronic issues of "disk full" issues for the last five months. It's only $20 a month for 100 GB so I guess the old adage of "you get what you pay for" holds true. Also, rsyncpalace and talanov are just a BQ resellers so look out for them too. I've been using rsync.net for a while now though that may be overkill and a little pricey for most people. Vinayak_Sharma 10-21-2007, 06:15 PM drtanz have a look at this thread http://www.webhostingtalk.com/showthread.php?p=4765572 foobic 10-21-2007, 08:11 PM Call me paranoid if you like, but I really hate the idea of a backup script in your home directory on the webserver storing passwords. Suppose someone hacks into your account - they get your CPanel password *and* the ftp / rsync login and password of your remote backup. :eek: For me, the right way to do remote backups is what drtanz originally suggested - a remote system that logs in to your CPanel account and fetches the backup from it. That way the passwords (or preferably SSH keys) are stored on the remote system. There's still the risk of the remote system getting hacked but since it doesn't run a webserver it should be much less vulnerable - it can even be locked down with no publicly-available services at all. Scripts like the one above and the josheli one mentioned in the other thread just imitate a web browser to access your standard CPanel account functions - they should run equally well from a remote computer. drtanz 10-21-2007, 08:17 PM very useful contributions, keep your opinions coming :D bqinternet 10-22-2007, 02:04 AM bqbackup used to be awesome but they've had chronic issues of "disk full" issues for the last five months. It's only $20 a month for 100 GB so I guess the old adage of "you get what you pay for" holds true. Also, rsyncpalace and talanov are just a BQ resellers so look out for them too. I've been using rsync.net for a while now though that may be overkill and a little pricey for most people. Hello there, Did you try contacting technical support regarding the errors you were getting? If you were consistently getting error messages, that is most certainly not normal. We have over 1000 direct customers, and another 1500 users through resellers, and would not be in business very long if such problems were common. Any time that a customer has problems with their backups, we are available for help by emailing support@bqinternet.com. ~ServerPoint~ 10-22-2007, 02:25 AM bqinternet, would yopu mind my asking question you here? Do you run any RAID sollutions on your servers? Or everything in single copy? Just my interest. bqinternet 10-22-2007, 05:58 AM bqinternet, would yopu mind my asking question you here? Do you run any RAID sollutions on your servers? Or everything in single copy? Just my interest. Yes, all backup accounts are stored on RAID arrays. RAID is really a necessity when you're dealing with large amounts of data. We also recently started deploying the ZFS filesystem on our newer storage systems, which brings additional data integrity into the filesystem layer. http://en.wikipedia.org/wiki/ZFS drtanz 10-22-2007, 04:52 PM so is there a recommended way of achieving what i want, as Im not seeing any method that does this? BonsaiRack 12-07-2007, 05:51 PM Hi, http://www.tech-pro.net/site-backup-cp.html Works flawless. Easy to setup. |