PDA

View Full Version : Backup Config



arazit
02-19-2010, 02:35 AM
I want run backup while cpu load little than 2 or 3
how to do?
cpanel has Waiting for load to go down to continue

scsi
02-19-2010, 06:13 AM
How bout just schedule it for a time at night when it doesnt matter?

arazit
02-19-2010, 10:29 AM
When a user wants to backup his files, CPU Load just goes up and up.
Just like Cpanel, I want to deny backups, whenever CPU Load is more than normal.

scsi
02-19-2010, 10:45 AM
I dont have a cpanel server so I dont know what it does. Does it say it cannot run or does it queue it up for a time when cpu load is lower?

arazit
02-20-2010, 08:29 PM
queue it up for a time when cpu load is lower

DirectAdmin Support
02-21-2010, 10:25 AM
Hello,

http://help.directadmin.com/item.php?id=287

John

Peter Laws
02-28-2010, 05:48 AM
Hello,

http://help.directadmin.com/item.php?id=287

John

Does this actually work? I tried this and got this error when my cron ran:

<b>Script output</b>: /usr/local/directadmin/scripts/custom/user_backup_pre.sh
Cannot open local file /home/tmp/xxxx/xxxx.tar.gz for reading: No such file or directory.
ncftpput /home/tmp/xxxx/xxxx.tar.gz: could not open file.
is this related, I ask as this never happened before until I added this bash script.