ispCP - Board - Support
Howto disable Daily Backups (for certain Users) - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Howto disable Daily Backups (for certain Users) (/thread-2433.html)

Pages: 1 2 3


RE: Howto disable Daily Backups (for certain Users) - Kwik - 02-19-2008 07:11 PM

joximu Wrote:comment the right line in /etc/cron.d/ispcp and restart the dron daemon.

BeNe Wrote:Your Cron looks ok so!
But why did yo stop the ispCP Daemon ??

Greez BeNe

Because I was told to do so (to restart it I stoped and started it ...).

And like I said, he still is making the backups ...


RE: Howto disable Daily Backups (for certain Users) - joximu - 02-19-2008 07:13 PM

Hi

maybe there are parts of old cronjobs still running...

ps aux | grep tar

/J


RE: Howto disable Daily Backups (for certain Users) - Kwik - 02-21-2008 09:45 PM

Ok, I am not kidding. This is what I have inside my /etc/cron.d/ispcp

Quote:# Backup
#@daily root /var/www/ispcp/engine/backup/ispcp-backup-all yes &>/var/log/ispcp/ispcp-backup-all-mngr.log
#@daily root /var/www/ispcp/engine/backup/ispcp-backup-ispcp noreport &>/var/log/ispcp/ispcp-backup-ispcp-mngr.log

I rebootet my server and he is still making backups! Weird.


RE: Howto disable Daily Backups (for certain Users) - BeNe - 02-21-2008 10:19 PM

And you are really sure that these Processes are running ?
No other Backupsoftware on the server ?
Please post a Process list when you mean that the Backup is running
as joxi said.

Greez BeNe


RE: Howto disable Daily Backups (for certain Users) - Kwik - 02-21-2008 10:26 PM

I do have zz-backup installed, but this is independent from your backup (right? Smile. I am talking about the backups that will be in /var/www/virtual/user.tld/backups.

I will post a list ...


RE: Howto disable Daily Backups (for certain Users) - Kwik - 02-24-2008 10:25 AM

Quote: 9247 ? S 0:00 /USR/SBIN/CRON
9248 ? Ss 0:00 /bin/sh -c /var/www/ispcp/engine/backup/ispcp-backup-all yes &>/var/log/ispcp/ispcp-backup-all-mngr.log
9254 ? S 0:00 /usr/bin/perl /var/www/ispcp/engine/backup/ispcp-backup-all yes
9469 ? S 0:00 sh -c /bin/tar --create --directory=/var/www/virtual/user.tld --gzip --file=/var/www/virtual/user.tld/user.tld-backup-2008.02.24-010004.tar.gz --exclude=logs --exclude=phptmp --exclud
9470 ? R 0:14 /bin/tar --create --directory=/var/www/virtual/user.tld --gzip --file=/var/www/virtual/user.tld/user.tld-backup-2008.02.24-010004.tar.gz --exclude=logs --exclude=phptmp --exclude=back
9489 ? R 9:14 gzip

Quote:Debian-40-etch-32-LAMP:~# cat /etc/cron.d/ispcp | grep backup
#@daily root /var/www/ispcp/engine/backup/ispcp-backup-all yes &>/var/log/ispcp/ispcp-backup-all-mngr.log
#@daily root /var/www/ispcp/engine/backup/ispcp-backup-ispcp noreport &>/var/log/ispcp/ispcp-backup-ispcp-mngr.log
# Remove config backups older than seven days
@daily root find /etc/ispcp/*/backup/* -maxdepth 0 -type f -mtime +7 -print | egrep '.*\.[0-9]+$' | xargs -r /bin/rm
# [{DMN_NAME}] backup task START.
# [{DMN_NAME}] backup task END.



RE: Howto disable Daily Backups (for certain Users) - joximu - 02-24-2008 12:17 PM

is there another file in /etc/cron.d/ which contains the jobs?
maybe a backup file in the same dir...?

grep backup /etc/cron.d/

/J


RE: Howto disable Daily Backups (for certain Users) - Kwik - 02-24-2008 09:10 PM

No, but look what I found here ....

Quote:Debian-40-etch-32-LAMP:/etc# crontab -l
# delayed tasks START.

# Quota
0 23 * * * /var/www/ispcp/engine/quota/ispcp-dsk-quota &>/var/log/ispcp/ispcp-qsk-quota.log

# Traffic
0,30 * * * * /var/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log
0,30 * * * * /var/www/ispcp/engine/traffic/ispcp-vrl-traff &>/var/log/ispcp/ispcp-vrl-traff.log
15,45 * * * * /var/www/ispcp/engine/traffic/ispcp-vrl-traff-correction &>/var/log/ispcp/ispcp-vrl-traff-correction.log
30 23 * * * /var/www/ispcp/engine/tools/ispcp-httpd-logs-mngr &>/var/log/ispcp/ispcp-httpd-logs-mngr.log

# Backup
0 1 * * * /var/www/ispcp/engine/backup/ispcp-backup-all yes &>/var/log/ispcp/ispcp-backup-all-mngr.log

# AWStats
30 */2 * * * /usr/share/awstats/tools/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats/awstats.pl

# Rootkit Hunter
0 0,12 * * * rkhunter --createlogfile --cronjob

# [{DMN_NAME}] backup task START.
# [{DMN_NAME}] backup task END.

# delayed tasks END.

Is this like a leftover from RC2b?


RE: Howto disable Daily Backups (for certain Users) - joximu - 02-24-2008 09:31 PM

That's what I meant

search /etc/cron*
and /var/spool/cron/tabs/*

/J


RE: Howto disable Daily Backups (for certain Users) - Kwik - 02-24-2008 09:34 PM

It's in the /var/spool/cron/crontabs/root file. Can I delete all the ispcp related entrys?