cpanel Backup Interval from ssh

josh123456

Member
Jun 19, 2010
8
0
51
hello
how can we change backup interval from ssh ?
i know we can change it from whm interface but i need to change it from ssh
i modified the "nano etc/cpbackup.conf" file and change the line BACKUPINT weekly to daily and saved it but when i login too whm and going to Configure Backup i see no changes (BACKUPINT weekly)
how we can execute/apply modification of cpbackup.conf from ssh to whm ?
 

Chris.Bshm

Member
Oct 20, 2011
13
0
51
cPanel uses a cache file for nearly everything, so when you make edits to the standard file - you must also move the cache file out of the way.

# mv /etc/cpbackup.conf.cache /etc/cpbackup.conf.cache.bak

You should see the change then.