How to do fast backup / restore

ivanov

New member
Joined
Jun 14, 2009
Messages
2
How can I control the speed backup, establish a higher priority for a backup and recovery was faster?
Backup size ~ 20Gb, time ~ 4-5 h.
 
Buy better hardware?

No, enough hardware, la ~ 0.4-0.5. I see the process of creating backup are a low priority. I can increase the priority of a particular process using renice. How can pre-define the highest priority for all processes of creating backup and restore from backup?
 
Hello,

You can specify the backup_nice value in your directadmin.conf.
http://www.directadmin.com/features.php?id=577

This assigns the nice value of the dataskq process for a backup.. whether or not the child process (tar) inherits that value, I'm not too sure. Use a lower number for higher priority. The default is 19, aka: low priority.

Note that increasing the priority will make the rest of the box slower.

Also keep in mind that when you're running a backup, the CPU/hardware is always going to be going full blast no matter what... the nice value only determines what gets run most of the time. So if there is nothing else going on with your system (eg: low apache/exim load) the nice value really won't do much, the backup will be using all of the CPU if there is nothing else for it to do.

John
 
Back
Top