Skip to main content

Cron job of Backup Configuration

Comments

3 comments

  • Infopro
    You can configure cPanel Backup cron time here: WebHost Manager "Server Configuration "Configure cPanel Cron Jobs Doing separate backups of just databases at one time and files at another is not possible though.
    0
  • Abdelmks
    so I cannot modify backup configuration automatically ?
    0
  • cPanelMichael
    Hello @Abdelmks, If I understand correctly, you'd like to manually modify the backup configuration files via a cron job in order to use different backup configuration values at different times of the month/day. The configuration file for local backups is located at:
    /var/cpanel/backups/config
    Ensure to remove the config.cache file after making changes to this file. Regarding backup user selection, this is stored in the cPanel user file for each user. EX:
    grep BACKUP /var/cpanel/users/example BACKUP=1
    "1" is enabled, and "0" is disabled. Run the following command after making changes to these files:
    /scripts/updateuserdomains
    Thank you.
    0

Please sign in to leave a comment.