So I have a server where I have important processes running 24/7, and once per day I run a backup of a specific folder like this:
time tar cf ${HOME}/${SNAP_NAME} -C ${DATA_PATH} . &>>${LOG_PATH}
The problem I have is that, during this backup process, all of my other processes stop running, or have very poor performance because tar is utilizing IO disk writing at max.
My question is if there is a way to somehow limit this specific tar process to use only 30-40% (or any number I set) of available IO? I have tried ionice but unfortunately, this doesn't help as it would still write it at max speeds.