The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Non-incremental backups over NFS incorrect?

Discussion in 'General Discussion' started by eger, Apr 15, 2006.

  1. eger

    eger Well-Known Member

    Joined:
    Feb 28, 2003
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    16
    I recently started experimenting with nfs mounted backups rather than ftp. The big problem I have with it is copying many directories and small files over nfs is extremely slow. So when I disable incremental backups (to do tar.gz backups) it is STILL copying the files over nfs before tarring them up.

    Shouldn't the account be packages on the local server and then the tar.gz copied over nfs? This would really speedup the backup process for me.
     
  2. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    I agree it would be faster to do the tarball locally and then send across nfs. I think the reason they do it the way they do is due to possible drive space issues. Its assumed that the backup mount will have plenty of space available and the home partition may not so therefor they use the backup mount to copy the raw files over and then tarball it on the nfs mount.

    there are packet size adjustments you can make to help with speed. we use 16384 for nfs packet size and it seems to work faster then 4096 or 8192.

    As far as which setting is best for you I would recommend adjusting up and trying it

    Also make sure your on at least 100 mbit full duplex network between the cpanel and nfs machines

    There have been some issues with NIC's being set to half duplex causing slow backups,also if your on a managed switch make sure its set for full duplex.
     
    #2 dave9000, Apr 16, 2006
    Last edited: Apr 16, 2006
  3. eger

    eger Well-Known Member

    Joined:
    Feb 28, 2003
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    16
    I will look into the packet size adjustments. But I think I may just go back to the FTP transfer options. FTP is still at least twice as fast as nfs right now. Unless the packet size makes some significant difference.
     
  4. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    I never have tried the ftp backups I always use the NFS version but in defense of the NFS version I have never had a corrupt backup set yet (knocking on wood :D ).

    I have heard of people having issues with the ftp backup set in the past, they may have all the bugs out of it by now but just something to consider
     
Loading...

Share This Page