Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

Temporary pause backup script

Studio4web shared this idea 9 years ago
Open Discussion

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

77

~~~~~~~~~~~~~~~~~


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.

Leave a Comment
 
Attach a file