What Is Generating cpmove Files
I have a server that is generating cpmove files in /home on a nightly basis. In Backup Configuration backups are disabled. In Backup User Selection all accounts are switched to "off".
What else would be generating these cpmove files?
-
Hello, Do you have any custom cron jobs configured to run that are manually backing up accounts? You can view a list of root cron jobs via the following command: crontab -l
Thank you.0 -
Hi Michael, I didn't even think to check as I did not add any custom crons, but I see these: 0 1 * * * /usr/local/cpanel/scripts/cpbackup 0 2 * * * /usr/local/cpanel/bin/backup
Were these set by the backup configs in whm? If so shouldn't they have been deleted when I had disabled backups? Thanks!0 -
Hello, Those are the standard cPanel backup cron jobs. They always exist, and detect whether backups are enabled or disabled before attempting to generate the backup archives. Thus, they are unlikely to result in the issue you are describing. Could you open a support ticket using the link in my signature so we can take a closer look at your system? Thank you. 0 -
Hello, Thank you for reaching out to us. The cpmove files appear to have been caused by a custom perl script being run as a cron. It was located within /etc/cron.daily. Thanks, 0 -
@cPanelRyland thanks for that. I didn't even think to check as I do not remember adding anything. In fact completely opposite I usually add a cron to cleanout backups since we have another solution that backs up offsite. 0 -
Just wanted to update this. I used to use Backuprun but moved to my own R1 setup awhile ago. Backupruns installer is the one responsible for this file and it seems on removal does not clean it. From their installer: function install_watch_script { SCRIPT=/etc/cron.daily/cPanel-backup.pl if [ -z "$WATCH_SCRIPT" ]; then return; fi mark "Installing cPanel-backup script"; echo "$WATCH_SCRIPT" >$SCRIPT chmod +x $SCRIPT log "`ls -l $SCRIPT 2>&1`" log "`cat $SCRIPT 2>&1`" }
Maybe this will come in handy to somebody else.0
Please sign in to leave a comment.
Comments
6 comments