Disable concurrent backup/restore at same time

andreyka

Verified User
Joined
Aug 15, 2007
Messages
11
Due by high disk utilization I need disable situation when copule of accounts run backup tasks in same time.
Can you add this option?
 
Thanks a lot!
I am easy update this script for checking tar in processes. If tar is running - backup/restore is aborted.
 
Along the same lines of the locking method, this could be used to check for tar:
http://www.directadmin.com/features.php?id=978

The all_pre.sh is only for DA commands in the interface, and doesn't account for cron backup creation (probably best to use both)

Or... another solution which won't ignore other backups, is to just ensure only 1 instances of the dataskq is running at a time.
http://help.directadmin.com/item.php?id=246

This will keep other backup requests in the task.queue file until the next instance of the dataskq runs.. so no backups are skipped/missed.

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

John
 
Thanks for the tip John, the last one for cron change is very usefull.

I suppose that every task will be delayed if one is active, am i right?

Regards
 
Well, its ok for me atm, but maybe something more dedicated just on backups should be better cause backups require just more resources then a restart of a service :)

But, for now, is just ok.

Thanks for confirmation
 
Back
Top