Current time: 04-24-2024, 03:47 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED]Move the backup schedule
Author Message
coper Offline
Junior Member
*

Posts: 91
Joined: Nov 2008
Reputation: 0
Post: #1
[SOLVED]Move the backup schedule
Hi,

How can I do to move the backup to another hour? When the panel do the backup I get this message in a lot of hostings or I get an error 500:
Warning: mysql_connect() [function.mysql-connect]: Too many connections

I can't even access via ssh.

So I need to move the backup to an hour with less usage of the server.

Thank you.

c.
(This post was last modified: 07-28-2009 07:46 AM by coper.)
07-27-2009 04:25 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: #2
RE: Move the backup schedule
see /etc/cron.d/ispcp - part "Backup"
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 report &>/var/log/ispcp/ispcp-backup-ispcp-mngr.log
(I enabled the report for the second (ispcp) backup).

@daily means: once per day - but you don't know when.

You can change this to eg:
Code:
5 4 * * * root /var/....

theis means every day at 4:05 am

minute hour day month day-of-week - see cron manual...

/J
07-27-2009 05:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
coper Offline
Junior Member
*

Posts: 91
Joined: Nov 2008
Reputation: 0
Post: #3
RE: Move the backup schedule
Thank you, I did it.

Regards.

c.
07-28-2009 07:20 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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