Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 18
  1. #1
    Member
    Join Date
    May 2006
    Location
    online
    Posts
    5

    Default Suggestion for backup

    Hi

    Backup script is really cpu consuming. The rsync it does to move daily to weekly scripts and weekly to monthly is really a loss of cpu without really an advantage. I guess that not much can be done for the daily: files have to be gathered and copied. but for weekly and monthly backups a much better procedure, instead of a rsync, would be:

    monthly:
    rm -rf /backup/cpbackups/monthly
    mv /backup/cpbackups/weekly /backup/cpbackups/monthly

    weekly:
    rm -rf /backup/cpbackups/weekly
    mv /backup/cpbackups/daily /backup/cpbackups/weekly

    Obviously the overhead for the server when deleting and renaming one folder is almost insignificant. while now it takes hours. And obviously it is important the order: daily backup should be done after creating the weekly.

    Quel

  2. #2
    Member
    Join Date
    Sep 2003
    Posts
    158

    Default

    I would think your proposed change would result in a lot more disk IO load which could be a big disadvantage to those who have the typical off-the-shelf server which is stronger on CPU than disk IO.

  3. #3
    Member Danny_T's Avatar
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    181

    Default

    I was think also about another sollution. It takes indeed hours to complete the task and getting high load server messages.

    It would be nice to have a backup tool that runs remotely. So gzipping etc is done on a dedicated server for example...

    My backups are running for almost the whole night. The box is realy heavy loaded at night with all the crons.
    As cpbackup is the heaviest, it would be nice for a better something.
    Net Tuning (Dutch)
    Official cPGS GameServer Mirror
    *New* Virtual Private Server hosting

  4. #4
    Member nyjimbo's Avatar
    Join Date
    Jan 2003
    Location
    New York
    Posts
    1,105

    Default

    Does anyone just totally bypass the cpanel backups and do their own?. We use the cpbackups to do the system stuff daily, but not customer account backups and so every other day we do hard disk "mount point" backups to a secondary hard drive and several times a month do rsync "pulls" of those .tar and .pax files to a server created just for backups and oddball Cpanel testing. It's all automated and creates alot of checkpoints for restoration.

    Maybe its just me but the cpanel method of backing up whole accounts is alot more disk i/o and much more system impact than just doing a tar/pax backup. Granted its not a clean one-key reinstall via WHM when an account dies, but its rare we ever have to do it that way, its more likely a customer wants a file or two and we dont need to do a whole account restore.
    Last edited by nyjimbo; 09-16-2007 at 05:27 PM.
    "A dog has raised it’s hind leg on the age of nevermore !"
    -- Rolf

  5. #5
    Member
    Join Date
    Apr 2006
    Posts
    67

    Default

    Are hosting companies even responsible for user files if they get lost?


    I understand something happens server side, where backups should be kept, but if a client requests a file that they had deleted or changed, are they not responsible for it?

  6. #6
    Member
    Join Date
    Sep 2006
    Posts
    73

    Default

    Check the Terms of Service and User Policy of the host. I am sure their backup policy will be mentioned there.

  7. #7
    Member hostmedic's Avatar
    Join Date
    Apr 2003
    Location
    Ohio
    Posts
    556
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default r1soft

    I have been looking into r1soft.com

    r1soft appears to have a great solution - and will even work with the cPanel control panel for clients....

    This is what I saw: http://www.r1soft.com/pdf/R1Soft_cPa...esentation.pdf

    anyhow wondering who is using... and how well it works.



    Feel like your Cloud Provider's just weathering the storm? Hop Off the Cloud - The Weathers nicer over here.

  8. #8
    Member
    Join Date
    Sep 2003
    Posts
    158

    Default

    Quote Originally Posted by Boriskag View Post
    Are hosting companies even responsible for user files if they get lost?


    I understand something happens server side, where backups should be kept, but if a client requests a file that they had deleted or changed, are they not responsible for it?
    As said, many hosts put in their TOS that they are not responsible for providing backups if a customer corrupts or deletes a file. Even many top-quality hosts have this in their TOS... that backups are only in case of system failure and clients are responsible for their own backups. (one for example images the whole server drive so it would be difficult for them to retrieve a single file for example.)

    On the other hand, as a host if you do have a backup and save a client's business, I bet you have a client for life.

  9. #9
    Registered User
    Join Date
    Sep 2007
    Posts
    3

    Default

    Quote Originally Posted by Boriskag View Post
    Are hosting companies even responsible for user files if they get lost?
    well, probably not by formal view of policy. Moste hosting companies exclude any responsibility.

    however, if the hosting company advertises with (i.e.) "monthly, weekly, daily backups" then there it is a question of trustworthy, to be responsible nevertheless, and some courts also may decide that this is enough to cause a formal and financial responsibility, too.
    You can write a lot in your TOS, but this says not automatically it is valid. National law may be vary, and different courts also may decide different. But to discuss such legal points of TOS here is the wrong place.

    In any case, if a hosting company steps back to the formal non liability for backups, then very soon customers will go, as one of the main requirements is not given or not trustworthy.

    A hosting company has to do the best to secure that in case of a restore all data will be available.

    Mata
    http://1steuro.net/

  10. #10
    Member
    Join Date
    May 2005
    Location
    Auburn, CA
    Posts
    243

    Default

    Quote Originally Posted by nyjimbo View Post
    Does anyone just totally bypass the cpanel backups and do their own?
    We do both. After having a HD crash last spring (3 days before migrating to a new server, no less), I'm paranoid

    Granted its not a clean one-key reinstall via WHM when an account dies, but its rare we ever have to do it that way, its more likely a customer wants a file or two and we dont need to do a whole account restore.
    Have you ever had to use the full restore? And did it work? I've heard so many horror stories about backups not being valid (not necessarily cPanel, but in general), uisng only one method of backing up makes me nervous.

    I had an issue yesterday with moving our billing system, including the db. Didn't work the first time (copying over the db in phpMyAdmin....I know, not the best way to do it but I'd been working for an insane number of hours straight already), but when I restored the very same db (but a different day's backup, from a mysqldump) via MySQL shell...worked fine.

    I'm assuming the data got corrupt by the way I did it the first time (using phpMyAdmin). I'm just wondering if you've had issues with restoring accounts, especially any that had sizable databases.
    cPanel: Latest Release Version [11.32.2.*]
    PHP 5.3.10, Apache 2.2.22, MySQL 5.1.56, Perl 5.8.8, CentOS 6.2

  11. #11
    Member
    Join Date
    May 2005
    Location
    Auburn, CA
    Posts
    243

    Default

    Quote Originally Posted by Boriskag View Post
    Are hosting companies even responsible for user files if they get lost?


    I understand something happens server side, where backups should be kept, but if a client requests a file that they had deleted or changed, are they not responsible for it?
    Each company has a different policy, but even when customers are told backups are their responsibility...they still get upset and/or blame the host.
    cPanel: Latest Release Version [11.32.2.*]
    PHP 5.3.10, Apache 2.2.22, MySQL 5.1.56, Perl 5.8.8, CentOS 6.2

  12. #12
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Quote Originally Posted by MaraBlue View Post
    We do both. After having a HD crash last spring (3 days before migrating to a new server, no less), I'm paranoid
    Same here. Several years ago for us but it was painful. We backup to second drive each nite and twice a month do backups to the home server now. (daily and weekly backups configured in WHM)

    Quote Originally Posted by MaraBlue View Post
    Have you ever had to use the full restore? And did it work? I've heard so many horror stories about backups not being valid (not necessarily cPanel, but in general), uisng only one method of backing up makes me nervous.
    I have used account restore in the past several times and it worked perfectly. Granted they were all accounts under 1GB but it worked. Not sure I want to try it on a very large account.

    Quote Originally Posted by MaraBlue View Post
    I had an issue yesterday with moving our billing system, including the db. Didn't work the first time (copying over the db in phpMyAdmin....I know, not the best way to do it but I'd been working for an insane number of hours straight already), but when I restored the very same db (but a different day's backup, from a mysqldump) via MySQL shell...worked fine.
    I never use phpMyAdmin for anything except optimizing. Shell is best.
    Quote Originally Posted by MaraBlue View Post
    I'm assuming the data got corrupt by the way I did it the first time (using phpMyAdmin).
    IMHO, probably.

    Quote Originally Posted by MaraBlue View Post
    I'm just wondering if you've had issues with restoring accounts, especially any that had sizable databases.

  13. #13
    Member
    Join Date
    May 2005
    Location
    Auburn, CA
    Posts
    243

    Default

    Thanks for the reply!
    cPanel: Latest Release Version [11.32.2.*]
    PHP 5.3.10, Apache 2.2.22, MySQL 5.1.56, Perl 5.8.8, CentOS 6.2

  14. #14
    Member
    Join Date
    Aug 2001
    Location
    Wisconsin
    Posts
    121

    Default

    We use r1soft and love-love-love it.

    To put it bluntly, it kicks cPanel's backup system's butt. To the curb.

    Bailey
    toast and jam.

  15. #15
    Member
    Join Date
    May 2005
    Location
    Auburn, CA
    Posts
    243

    Default

    Quote Originally Posted by Bailey View Post
    We use r1soft and love-love-love it.

    To put it bluntly, it kicks cPanel's backup system's butt. To the curb.

    Bailey
    Hey, thanks for the reply. I've never heard of r1soft before, but with a recommendation like this , I'll be checking it out.

    cPanel: Latest Release Version [11.32.2.*]
    PHP 5.3.10, Apache 2.2.22, MySQL 5.1.56, Perl 5.8.8, CentOS 6.2

Similar Threads & Tags
Similar threads

  1. Suggestion about Backup Balancing
    By hidonet in forum Data Protection
    Replies: 4
    Last Post: 06-17-2009, 10:11 AM
  2. Backup Suggestion
    By markus79 in forum Data Protection
    Replies: 1
    Last Post: 06-03-2006, 04:09 PM
  3. Backup suggestion
    By Mat-d-rat in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-31-2003, 12:17 PM
  4. [Suggestion] a suggestion to WHM
    By tabobaby in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-12-2003, 02:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube