[CentOS] Suddenly increased my hard disk

Gordon Messmer gordon.messmer at gmail.com
Fri Apr 22 22:18:04 UTC 2016


On 04/21/2016 07:49 PM, Chandran Manikandan wrote:
> Why it's happened like this environment and how to avoid it.

Generally the way to avoid it would be for your backup application to 
fail if the destination does not exist, and alert the admin.

For instance, rsnapshot has the "no_create_root" option to do exactly that.

If you're making backups with scripts of your own, just start with 
something like:
     test -d $destination || alert_admin_and_exit

...where $destination is a sub-directory under the mount point. Backing 
up directly to the mount point can make it more complicated to detect 
the presence of the mounted filesystem.



More information about the CentOS mailing list