Results 1 to 25 of 25
-
06-07-2011, 10:32 AM #1Divided by Zero
- Join Date
- Jun 2009
- Posts
- 1,219
Backup via rsync vs. cPanel Backup via FTP
Hi everyone,
on one of my dedicated servers, I do daily backups twice a day. Once via rsync to bqbackup.com and once via the cPanel backup feature to another remote FTP. The cPanel backup is quite ressource intensive and pushes my server load up. And that is not mentioning the higher amount of traffic that the cPanel backup is causing.
I wonder whether the backup via rsync (I sync /home, /etc and /var) has any disadvantage compared to the cPanel backup feature. Otherwise I would do both backups via rsync. I read about problems with MySQL databases and, of course, migrating through the cPanel "Restore Account" function will not be that easy.
Looking forward to your opinions! Thank you in advance!
Kind regards
-Amitz
-
06-07-2011, 11:39 AM #2
cPanel creates a proper backup of all MySQL databases in the account. That is pro to cPanel accounts.
It is good to actually rsync the cPanel backups to offsite backup provider like bqbackup.com.
It is definitely safer than just relying on rsync alone.HostXNow - Shared Web Hosting | Semi Dedicated Hosting | Enterprise Reseller Hosting | VPS Hosting
-
06-07-2011, 01:39 PM #3The Guru!
- Join Date
- Nov 2007
- Location
- India, USA and Amsterdam
- Posts
- 2,581
FTP connections may time out and stop incomplete. I would recommend rsync unless you don't have any options.
-
06-07-2011, 01:49 PM #4Web Hosting Master
- Join Date
- Apr 2006
- Location
- United Kingdom
- Posts
- 618
Have you looked at cPremote at all? It's a great plugin that uses rsync instead of FTP for cPanel backups. These backups can be restored very easily from within WHM. There's also a free trial.
More info on their website: http://cpremote.net/
-
06-07-2011, 05:47 PM #5Divided by Zero
- Join Date
- Jun 2009
- Posts
- 1,219
-
06-08-2011, 04:13 AM #6
Check http://www.webhostingtalk.com/showthread.php?t=1046546 and http://www.webhostingtalk.com/showthread.php?t=1049660
BQBackup system may even be better than cPremote and free too. We'll see.
I did try cPremote but didn't like it. Some of the spelling and grammer is wrong for some of the information. That put me off.HostXNow - Shared Web Hosting | Semi Dedicated Hosting | Enterprise Reseller Hosting | VPS Hosting
-
06-08-2011, 05:27 AM #7Divided by Zero
- Join Date
- Jun 2009
- Posts
- 1,219
I tried it yesterday (cPremote) and did not like it too. Do not ask me why, but it did not work as it should and left me with a bad feeling.
The thing is: I already have an account at BQBackup that I use for rsyncing the server and am just looking for an additional solution.
-
06-08-2011, 05:47 AM #8Disabled
- Join Date
- Jun 2011
- Posts
- 125
Go through http://www.webhostingtalk.com/showthread.php?t=1046546 for more information.
-
06-08-2011, 05:58 AM #9HostXNow - Shared Web Hosting | Semi Dedicated Hosting | Enterprise Reseller Hosting | VPS Hosting
-
06-08-2011, 02:46 PM #10Backup Guru
- Join Date
- Feb 2002
- Location
- New York, NY
- Posts
- 4,618
Rsync can back up the binary MySQL table files, but if there is a lot of DB activity during the file transfer, it's possible to end up with the table in an inconsistent state. Running a mysqldump script (available all over the internet) would give you properly locked dumps, which would then get picked up when Rsync runs.
As far as keeping the backups in WHM's format, one option is to have WHM do a local backup in their newer incremental format (not the old .tar.gz archives), and then Rsync your cpbackup folder. That will give you the efficiency of Rsync, while making it a bit easier to restore to another WHM server.Last edited by bqinternet; 06-08-2011 at 02:49 PM.
Scott Burns, President
BQ Internet Corporation
Remote Rsync and FTP backup solutions
*** http://www.bqbackup.com/ ***
-
06-08-2011, 02:53 PM #11Backup Guru
- Join Date
- Feb 2002
- Location
- New York, NY
- Posts
- 4,618
Looks fine to me. It's in the ad section, so the mods have no reason to touch it. To be fair to competitors that also follow the rules, I can't really discuss the new scripts here, but I'll try to remember to continue updating the other thread that people keep linking to.
Scott Burns, President
BQ Internet Corporation
Remote Rsync and FTP backup solutions
*** http://www.bqbackup.com/ ***
-
06-11-2011, 02:37 PM #12Divided by Zero
- Join Date
- Jun 2009
- Posts
- 1,219
That was it!
I never noticed the incremental backup option of cPanel, I must have been blind... So what I do now since some days is letting cPanel do the incremental backup to a folder and then rsync the content via cronjob to you at bqbackup and my secondary backup space provider. Result? Backups take minutes instead of hours and I save loads of traffic.
Thanks to all of you and, by the way, kudos to Scott for his great service!
-
06-11-2011, 04:35 PM #13HostXNow - Shared Web Hosting | Semi Dedicated Hosting | Enterprise Reseller Hosting | VPS Hosting
-
06-11-2011, 04:42 PM #14Divided by Zero
- Join Date
- Jun 2009
- Posts
- 1,219
That was my first thought also. I guess this very simple solution makes cPremote useless if one is not totally afraid of the console and doesn't need to have everything clickable in WHM...
I simply assumed that it does... Does anyone has a proving link at hand while I search the net myself to make this clear?
-
06-11-2011, 04:43 PM #15Hello World
- Join Date
- Nov 2009
- Location
- /etc/my.cnf
- Posts
- 10,657
I can voice on this aswell, I have used this for afew months now, Whiles theirs afew spelling mistakes within the plugin the main workings does as its ment too
You can easily MASS restore accounts aswell just by uploading them into the correct restore folder on cPanel, It also keeps the directory structure in shape.
Regards,UK Based Proactive Server Management.
Zabbix Enterprise 24/7 Monitoring.
-
06-16-2011, 12:42 AM #16Junior Guru Wannabe
- Join Date
- Jun 2011
- Posts
- 61
I'd take a look at BackupPC, along with a MySQL dump script (basically a one-liner) - backuppc let's you manage rsync and pulls from the backuppc, so you get better manageability but the advantages of rsync.
-
06-16-2011, 07:06 AM #17Web Hosting Master
- Join Date
- Jul 2007
- Location
- Virginia
- Posts
- 1,314
We use both rsync and cPanel backups.
-
06-16-2011, 07:26 AM #18Web Hosting Master
- Join Date
- Oct 2003
- Location
- The Netherlands
- Posts
- 1,270
I use Virtualmin and rdiff-backup.
Virtualmin does a weekly full backup and daily incrementals (which include the latest DB); These are scp'ed over to another server
The rdiff-backup just takes care of the whole machine except folders like tmp and var (it's my oops protection in case I break a config file)
-
06-16-2011, 07:49 AM #19Divided by Zero
- Join Date
- Jun 2009
- Posts
- 1,219
I have just switched to rsnapshot that is running on a separate VPS and rsyncs the incremental backups made by cPanel on a daily basis. Works great so far!
-
06-16-2011, 08:27 AM #20Retired Moderator
- Join Date
- Oct 2010
- Posts
- 5,079
The insecurity of FTP would worry me, if I was transferring every cPanel account with that method every night. That, and the bandwidth drain of it.
I run cpbackup locally (not by FTP), and then put an rsync script line into scripts/postcpbackup to send the entire backup directory to a remote server. That way I can restore anything from the files on the main server, I have the redundancy of knowing things are kept offsite, and the security of doing all the transfers using SSH.
I hadn't heard of cpremote until I read this thread - but looking at their feature list I can't see anything it gives you that my approach does not.Not as active on WHT as I used to be, but still drop in and receive email notifications from here.
My personal blog site: https://www.oakleys.org.uk/blog
-
06-16-2011, 12:08 PM #21Divided by Zero
- Join Date
- Jun 2009
- Posts
- 1,219
@JamesOakley: You have read the whole thread, have you?
I am already 3 steps away from using FTP. My actual solution is right above your post and I must say that rsnapshot does a great job until now!
-
06-16-2011, 12:14 PM #22Retired Moderator
- Join Date
- Oct 2010
- Posts
- 5,079
That's me put in my place
I think I'd read the whole thread bar your last past (!), with people giving suggestion after suggestion, and was then thinking "No - it's not as complicated as all that!"
Glad rsnapshot is working for you. What I'd love to know is how you find the incremental backups (which is only now possible, given you're running your backups locally). I felt safer with one tarball for each account at each point it's backed up. I wasn't clear what files you get if you opt for the incremental route. How does it work in practice, and what are the benefits of doing that rather than taking a full backup each night?Not as active on WHT as I used to be, but still drop in and receive email notifications from here.
My personal blog site: https://www.oakleys.org.uk/blog
-
06-16-2011, 01:12 PM #23Divided by Zero
- Join Date
- Jun 2009
- Posts
- 1,219
When I put the incremental files in a .tar myself and feed cPanel's Backup with them, it restores the whole accounts with everything inside that you may need. I can also just copy the incremental files untar'd back to the server and cPanel Restore works like a charm. I have tested this hundreds of times before I was absolutely convinced that it works just as good a taking a full backup each night.
There are just some things you have to pay attention to:
cPanel Backup on the server where the backups should be restored has to be set to "Restore only" (Enable/Disable/Restore only" and "Incremental Backups..." has to be set to "Enable" in case you would like to restore data that was also created the incremental way. I nearly went nuts at the beginning because I still had that option on "Disable" and cPanel told me that it could not restore the incremental data.
The big plus for me using local incremental backups and then rsnapshotting them to another server is that I would normally need 100 GB for 7 full daily backups. And backup space is expensive. With "my" solution, I just need around 20 GB because only one daily backup is stored in full and the rest just contains of hardlinks to the unchanged files and the few changed files.
Another plus: Server Load. During full backups, my server load always doubled or tripled from its normal values. Now I don't even see a change in load while doing backups. I am very, very happy with this solution!
Kind regards
-A
-
08-23-2011, 11:48 AM #24Web Hosting Master
- Join Date
- Mar 2009
- Posts
- 3,700
-
08-23-2011, 12:34 PM #25Web Hosting Master
- Join Date
- Mar 2009
- Posts
- 3,700
Amitz,can you write more detail about how do you run cpanel backup and use rsnapshot to backup to remote server ? thanx
Similar Threads
-
Remote Offsite Backup Space CPANEL|FTP|RSYNC|RDIFF|MORE starting at $3 USD a month!
By Richard-BCS in forum Other Hosting OffersReplies: 0Last Post: 01-08-2011, 06:41 PM -
Remote Offsite Backup Space CPANEL|FTP|RSYNC|RDIFF|MORE starting at $3 USD a month!
By Richard-BCS in forum Other Hosting OffersReplies: 1Last Post: 01-02-2011, 09:30 PM -
Backup-Spot - Offsite FTP/Rsync/rdiff/Rsnapshot Backups with cPanel - Free Setup!
By Richard-BCS in forum Other Hosting OffersReplies: 0Last Post: 09-21-2010, 02:02 PM -
Remote Backup Services! Rsync, FTP, Cpanel, Secure + Reliable! AMAZING DEALS!!!
By Tsohxert in forum Other Offers & RequestsReplies: 0Last Post: 03-31-2007, 11:40 PM