On Tue, 15 Dec 2009, Andy Feldman wrote:

> These both seem like personal choices that should be tailored to your use
> case. I want my hourly snapshots to be easily accessible for restoring
> files, so I keep my backup filesystem mounted read-only in between
> snapshots.

Andy,

   Daily backups are sufficient for my comfort. I always made weekly tape
backups of my systems; when I started my business in 1993 I enhanced that to
daily incremental backups and weekly full backups. This has worked well for
me.

> I also set up a "post-server" script (runs once per vault, after the
> backup) that checks the disk-free space on my backup drive and only
> notifies me if it's above 90%. I take advantage of cron emailing all
> output, and I have every other part of the cron job run quiet, so it only
> emails my user account if it's above the 90% threshold (or if there's an
> error, which would cause dirvish to have some output even if --quiet is
> given). If you're interested, this is the shell code I use. It parses the
> output from df. There's probably a better way but it works for me:
>
> mount_point="/mnt/backup"
> full_info=`df | grep $mount_point`
> disk_free=${full_info%\%*} #cut off after (and including) the last % sign
> disk_free=${disk_free##* } #cut off before (and including) the last space
> [ $disk_free -gt 90 ] && echo "Notice: mount point $mount_point is
> ${disk_free}% full." 1>&2

   Thank you. The backup hard drive is 14% full after initializing all 14
partitions/vaults. This is a lightly used system so I suspect I'll not run
out of room too soon. Even with that, your check is really good to do just
for comfort.

> Whoops, I wasn't clear enough on that... I have a client: directive in my
> master.conf, which is the only reason I don't need it in the vault
> default.conf files. You definitely need to define the allowed client
> somewhere. If it's going to be the same for all vaults, then it's easiest
> to just have it appear once in master.conf.

   That's another ambiguity in the HOWTO. I now have the client: directive in
each vault's default.conf so there's no sense in spending the time to
replace it with a single directive in master.conf.

Thanks very much for your insights,

Rich
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to