Skip to main content

Backup large accounts

Comments

6 comments

  • LostNerd
    What transport method are you using? (e.g. FTP/Amazon/WebDAV) - I personally now use a custom backup script thanks to @jgillmanjr and his script allows me to manage the amount of threads to allow in an instance whilst uploading to an S3 platform.
    0
  • madmanmachines
    Hi, This is likely due to I/O. You can use the `sar' command line utility to confirm. You should check the accounts for directories with many(1,000+) files directly within. You should also check mail accounts for the same issue. If mail accounts are large, you should impose mailbox limits or encourage POP for large accounts. You may also check Tweak Settings I/O priority and try pigz compression. As well, if you have the space, you may consider disabling compression altogether. Thanks,
    0
  • veronicabend
    What transport method are you using? (e.g. FTP/Amazon/WebDAV) .

    Currently these backups are being generated to a 2nd hard drive on the same server. The problem is that cpanel takes about 10 hours to complete the backups, during this period several time with high load, especially when it is packing the big accounts.
    0
  • veronicabend
    Hi, This is likely due to I/O. You can use the `sar' command line utility to confirm. You should check the accounts for directories with many(1,000+) files directly within. You should also check mail accounts for the same issue. If mail accounts are large, you should impose mailbox limits or encourage POP for large accounts. You may also check Tweak Settings I/O priority and try pigz compression. As well, if you have the space, you may consider disabling compression altogether. Thanks,

    Yes I think it is due to cpanel backup copying the files over and then gzipping them. That's why I was thinking, if there is a better way to backup cpanel accounts?
    0
  • madmanmachines
    Yes I think it is due to cpanel backup copying the files over and then gzipping them. That's why I was thinking, if there is a better way to backup cpanel accounts?

    If you plan to use compression with your backups, you will likely see similar issues/delay with other methods. You should check for large directories. Thanks,
    0
  • cPanelMichael
    Hello, Have you considered excluding certain large photo and video files and backing them up through another method? If that's an option, then the following document explains how you can exclude certain files from backups:
    0

Please sign in to leave a comment.