Skip to main content

pkgacct no compress question

Comments

6 comments

  • Jcats
    With compression: cpmove-user.tar.gz Without compression cpmove-user.tar The backup structure stays exactly the same, just the 'x' option is not used when using tar, so the backup size will be bigger but may save you some CPU usage if that is your concern.
    0
  • cPanelMichael
    I'm just checking if the contents of --no-compress and without it are similar.

    Hello :) No, you are likely to see a size difference. For example, here's the size difference of a test account, one with the "--no-compress" flag (.tar), and one without the "--no-compress" flag (.tar.gz):
    # du -sh cpmove* 1.9M cpmove-cptest01.tar 620K cpmove-cptest01.tar.gz
    Thank you.
    0
  • iso99
    With compression: cpmove-user.tar.gz Without compression cpmove-user.tar The backup structure stays exactly the same, just the 'x' option is not used when using tar, so the backup size will be bigger but may save you some CPU usage if that is your concern.

    Yup, CPU and IO is actually my concern but wrapping them in LVE is a better idea, even with compression. It took 2 hours though for an 8gb account to be packaged.
    Hello :) No, you are likely to see a size difference. For example, here's the size difference of a test account, one with the "--no-compress" flag (.tar), and one without the "--no-compress" flag (.tar.gz):
    # du -sh cpmove* 1.9M cpmove-cptest01.tar 620K cpmove-cptest01.tar.gz
    Thank you.

    Additional question, where is the file configuration for the Backup WHM (not the legacy) user exclusion? Is this the only file that cPanel checks to see if an account will be excluded for the scheduled backups? Thanks!
    0
  • cPanelMichael
    Additional question, where is the file configuration for the Backup WHM (not the legacy) user exclusion? Is this the only file that cPanel checks to see if an account will be excluded for the scheduled backups?

    Hello :) The backup account exclusion setting is stored in the account's cPanel user file:
    root@server [~]# grep BACKUP /var/cpanel/users/cptest01 BACKUP=1 LEGACY_BACKUP=1
    Setting the values to 0 will disable backups for that account. Thank you.
    0
  • iso99
    Thanks! If I edit this file and changed BACKUP=0, should I run /usr/local/cpanel/scripts/updateuserdomains? Can I run this right I edit after several files, instead of per user edit?
    0
  • cPanelMichael
    If I edit this file and changed BACKUP=0, should I run /usr/local/cpanel/scripts/updateuserdomains? Can I run this right I edit after several files, instead of per user edit?

    Yes, that command rebuilds the cache. You can run it after editing multiple zones. Thank you.
    0

Please sign in to leave a comment.