backup options

Discussion in 'Site & Server Administration' started by dethfire, Aug 21, 2008.

  1. #1
    I backup my accounts via cpanel backup. I run incremental and mount to a NAS. I have about 2GB in database and 3GB in files (500,000+ PNGs). Backup is hard on the server and it takes 17 hours to complete according to my logs. There must be a better option. Any advice?
     
    dethfire, Aug 21, 2008 IP
  2. xous

    xous Active Member

    Messages:
    173
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Hi,

    The problem is that cPanel creates tarballs of the backups it creates and the gzip compression takes a lot of cpu time.

    You might want to look into some of r1soft's products but they are kind of pricey.

    For your situation you might want to look into rsync and mysqlhotcopy or http://www.innodb.com/hot-backup/order/
     
    xous, Aug 21, 2008 IP
  3. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #3
    If your server has provision to attach new drive then you can take backup in second drive or you may purchase the backup space from third party like bqbackup. They will allow you to rsync data from your server to their server.

    Kailash
     
    kailash, Aug 22, 2008 IP
  4. dethfire

    dethfire Well-Known Member

    Messages:
    230
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    118
    #4
    would rsync to another server be less intensive? btw, when cpanel backup runs, it runs with rsync as the process, so I don't understand this rsync suggestion when it's already being used
     
    dethfire, Aug 25, 2008 IP
  5. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #5
    cPanel runs rsync for weekly and monthly backups. For daily backup, it uses pkgacct command. rsync will only copies the modified files to the destination and generally the backup providers provide high transfer rate to copy the data on that server. As you have total 5 GB data. Considering your database is updated daily (2 gb) but I think you are not updating your files daily so you will need to take only 2 gb + update files backup so I am sure it will take less than 17 hrs to rsync the data to remote server. If you want to complete the backup more faster, I would suggest to attache another drive and take backup locally.

    Kailash
     
    kailash, Aug 25, 2008 IP