How can I disable Daily Backups? How for certain users only?
I searched for "Daily Backups" and get a result:
http://www.isp-control.net/forum/showthread.php?tid=524
But when I click on that link it tells me that the topic is not available. This happens a lot in this forum. YFI.
The missing Thread: this seems to happen with some older posts/threads - there was a data loss somewhere in summer
Since there is no gui to disable backups for certain users you may take the hard way: try renaming the backup folder for the no-backup users. I hope this should throw an error in the tar command and the backup is skipped :-)
Well, not great but it's maybe a solution...
/J
Thanks, it kinda works, but in the /var/www/virtual/domain.tld directory will be a log file left and he starts doing the backup which uses a lot of cpu time and temporary space. So another solution would be appreciated

of course - a better way would be glad :-)
if you use gzip for backup instead of bzip2 then the cpu consumption should be far less
/J
Is there a way to disable backups genereally? So that he wont start doing it for every client?
Oh, I was wrong. It does not work. This time he created a directory called "backup" and put the backup in there. Lets see what will happen when I put the directory into "read-only" mode...
You can of course disable the customer backup at all:
comment the right line in /etc/cron.d/ispcp and restart the dron daemon.
For a selective backup you have to add some code in the backup script itself.
/J
I guess this is a much needed feature for after v1.0 is out. The ability to disable backup per user.
I changed /etc/cron.d/ispcp to
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
Then I did:
Quote:Debian-40-etch-32-LAMP:~# ps x | grep ispcp
5829 ? S 0:00 /var/www/ispcp/daemon/ispcp_daemon -p /var/run/ispcp-daemon.pid
20605 pts/0 R+ 0:00 grep ispcp
Debian-40-etch-32-LAMP:~# kill 5829
Debian-40-etch-32-LAMP:~# ps x | grep ispcp
20610 pts/0 R+ 0:00 grep ispcp
Debian-40-etch-32-LAMP:~# /var/www/ispcp/daemon/ispcp_daemon -p /var/run/ispcp-daemon.pid
Debian-40-etch-32-LAMP:~# ps x | grep ispcp
20613 ? S 0:00 /var/www/ispcp/daemon/ispcp_daemon -p /var/run/ispcp-daemon.pid
20615 pts/0 R+ 0:00 grep ispcp
Debian-40-etch-32-LAMP:~# /etc/init.d/ispcp_daemon stop
Stopping ispCP GUI-Backend communication Daemon: ispcp_daemon.
Debian-40-etch-32-LAMP:~# /etc/init.d/ispcp_daemon start
Starting ispCP GUI-Backend communication Daemon: ispcp_daemon.
Debian-40-etch-32-LAMP:~#
He is still making backups which causing my system to stop working because there is not enough space left.
What am i missing here?
Your Cron looks ok so!
But why did yo stop the ispCP Daemon ??
Greez BeNe