Temporary pause backup script
Please add option to temporary pause creating new backup archives if local temporary destination contain less than 10% free space left.
SSD drives are too fast and new backup archives are created faster than existing are transported on the remote destination.
So I have situation like this:
root@server (/backup) $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md3 50G 47G 114M 100% /backup
On the local temp backup destination was over 70 backup archives waiting for transport on the remote backup destination:
root@server (/backup/weekly/2015-08-23/accounts) $ ll |wc -l
So I'm running out of space on temporary local backup partition and new backup archives are not created successfully once disk usage exceeded 100%.
In short, this request is to implement backup pause (like is implemented pause at high cpu load) based on free space left on backup partition.