Skip to main content

daily backup +cpbackup-exclude.conf +skipquotacheck

Comments

8 comments

  • cPanelMichael
    so, I had to switch from /scripts/pkgacct to /usr/local/cpanel/scripts/pkgacct

    Hello, These are the same files. The "/scripts" location is just a symbolic link to "/usr/local/cpanel/scripts". Have you considered using the backup option available in Web Host Manager under "Backup Configuration"? Thank you.
    0
  • Jalal Hoseini
    Oh, sorry I mean : I switched from /scripts/pkgacct, to /usr/local/cpanel/scripts/pkgacct USER /home userbackup
    0
  • Jalal Hoseini
    Have you considered using the backup option available in Web Host Manager under "Backup Configuration"?

    Yes, but that does not support the cpbackup-exclude.conf placed on user home dir.
    0
  • cPanelMichael
    Yes, but that does not support the cpbackup-exclude.conf placed on user home dir.

    Hello, This method should actually respect the exclusion entries in the /home/$username/cpbackup-exclude.conf file. Thank you.
    0
  • Jalal Hoseini
    Hello, This method should actually respect the exclusion entries in the /home/$username/cpbackup-exclude.conf file. Thank you.

    No! its not supporting. you can test it. screenshot attached.
    0
  • cPanelMichael
    Hello, The output you provided indicates you used "/scripts/pkgacct" to generate the archive as opposed to the backup option available in Web Host Manager under "Backup Configuration", which is what I'm referring to. Thank you.
    0
  • Jalal Hoseini
    Yes, but I need to use some command line backup tools.
    0
  • cPanelMichael
    Yes, but I need to use some command line backup tools.

    Right, this feature is not possible with /scripts/pkgacct. There's no other workaround beyond configuring backups in Web Host Manager and forcing a generation of backups via:
    /usr/local/cpanel/bin/backup --force
    Thank you.
    0

Please sign in to leave a comment.