Re: Suddenly increased my hard disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux