sysbk problems

IPaddress

Verified User
Joined
Feb 21, 2004
Messages
86
Hi!
I'm running Directadmin 1.33.1 on a CentOS 5 Final, with arround 500 Domains, distributed on 300 Users.
"/usr/local/sysbk/sysbk -q" is running all nights at 1 AM, but the problem is that it finish at 11:00 AM and some days the load avarage goes really high!
¿What can i do to make the backup takes less time?

Some details of the server:
-----------------
Mother: Intel D945GTPL
Processor: Intel Pentium D 935 3,20ghz 64bits
Memorys: Kingston 2 x 512
Hard drives: 320 GBs (2 Sata in RAID)
-----------------

Thanks in advance.
Bye!

PD: Sorry for my poor english, im from Argentina.
 
Well, in my opinion your server is a little bit overestimated... anyway, I suggest checking with "htop" which process is taking more time or resources during the backup and fine tune it (caching, niceing etc). But with that amount of RAM and that CPU, I don't think you can do much about it.
 
Mm Ok.
Now, why the Backup's EMail of the users arrives before all the backup is done?
As i can see with a # top -c, there is a process still working:
"/bin/tar -cpzf /tmp/backup/03-31-09/custom/var/spool//virtual.tar.gz virtual"

Can i renice the sysbk process to work faster in particular hours (all the night!)?

Thanks!
Bye!
 
You mean "after" the backup is done, do you?
You can renice it with a cronjob, or if you do system backups only at night modify /usr/local/sysbk/conf.sysbk.
Remember to copy /usr/local/directadmin/data/templates/conf.sysbk to /usr/local/directadmin/data/templates/custom/conf.sysbk and modify this one too, otherwise you will overwrite the conf next time you update it.
 
Hi!
I've made two changes:
#crontab -l
0 1 * * * nice -n -9 /usr/local/sysbk/sysbk -q

And i've modify the files:
"/usr/local/directadmin/data/templates/conf.sysbk"
"/usr/local/directadmin/data/templates/conf.sysbk"
"/usr/local/directadmin/data/templates/custom/conf.sysbk"
changing the directive:
PRI="-9"

However the backup is still taking like 12 hours and the load avarage is all the night over 12!
Is there any "nice" i can modify or something i can do to fix this?
Im now installing a new server with DirectAdmin, but until that, i want to do something with this cause is going to take some days/weeks to put that server up.
Thanks for your help!

Bye!
 
You can make it faster by upgrading your hardware: faster CPU (of course), faster disk (this may also be caused by slow disk IO), more RAM (for faster operations thanks to caching), etc.
You may also backup less data :) for example I exclude from my backups a list of public mirrors I run for some OSS projects; why would I want to backup that? Try to think about what you really need to restore everything.
 
Back
Top