Current time: 11-16-2024, 06:39 PM Hello There, Guest! (LoginRegister)


Post Reply 
Howto disable Daily Backups (for certain Users)
Author Message
Kwik Offline
Junior Member
*

Posts: 41
Joined: May 2007
Reputation: 0
Post: #11
RE: Howto disable Daily Backups (for certain Users)
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 ...
02-19-2008 07:11 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #12
RE: Howto disable Daily Backups (for certain Users)
Hi

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

ps aux | grep tar

/J
02-19-2008 07:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Kwik Offline
Junior Member
*

Posts: 41
Joined: May 2007
Reputation: 0
Post: #13
RE: Howto disable Daily Backups (for certain Users)
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.
02-21-2008 09:45 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #14
RE: Howto disable Daily Backups (for certain Users)
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
02-21-2008 10:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Kwik Offline
Junior Member
*

Posts: 41
Joined: May 2007
Reputation: 0
Post: #15
RE: Howto disable Daily Backups (for certain Users)
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 ...
02-21-2008 10:26 PM
Find all posts by this user Quote this message in a reply
Kwik Offline
Junior Member
*

Posts: 41
Joined: May 2007
Reputation: 0
Post: #16
RE: Howto disable Daily Backups (for certain Users)
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.
02-24-2008 10:25 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #17
RE: Howto disable Daily Backups (for certain Users)
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
02-24-2008 12:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Kwik Offline
Junior Member
*

Posts: 41
Joined: May 2007
Reputation: 0
Post: #18
RE: Howto disable Daily Backups (for certain Users)
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?
02-24-2008 09:10 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #19
RE: Howto disable Daily Backups (for certain Users)
That's what I meant

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

/J
02-24-2008 09:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Kwik Offline
Junior Member
*

Posts: 41
Joined: May 2007
Reputation: 0
Post: #20
RE: Howto disable Daily Backups (for certain Users)
It's in the /var/spool/cron/crontabs/root file. Can I delete all the ispcp related entrys?
02-24-2008 09:34 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)