February 23, 201412 yr Hey All, I'm running this script to back up my appdata folder on my cache drive to my array weekly. I run vnstats each minute from cron to get bandwidth info. Is there anyway to pause cron so that my database doesn't get corrupted during the backup? Backup Script - https://raw.github.com/smdion/shellscripts/master/appdatabackup.sh
February 23, 201412 yr I'm on the road so can't really check, but on most distros cron is a service, and you should be able to stop it at the beginning of your script and then start it again at the end. Sent from a mobile device, sorry for any typos.
Archived
This topic is now archived and is closed to further replies.