On 2013-03-15, Tanstaafl <tansta...@libertytrek.org> wrote:

> Would anyone who is using rsnapshot be willing to share their crontab 
> entries?

# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.XXXXfEjZZL installed on Thu May 26 14:47:04 2011)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42
vixie Exp $)
3 0 1 * *           /usr/bin/rsnapshot monthly
3 1 * * 6           /usr/bin/rsnapshot weekly
3 3 * * *           /usr/bin/rsnapshot daily

> I'm especially interested in how best to test for the 
> existence/availability of a remotely mounted filesystem, and run the 
> backup if it exists and abort if it doesn't.

rsnapshot has an option specifically for that (which I use to handle
the case where my Firewire backup drive is disconnected or powered
down_).

>From /etc/rsnapshot.conf:

# If no_create_root is enabled, rsnapshot will not automatically create the
# snapshot_root directory. This is particularly useful if you are backing
# up to removable media, such as a FireWire or USB drive.
#
no_create_root  1

-- 
Grant Edwards               grant.b.edwards        Yow! Are we THERE yet?
                                  at               My MIND is a SUBMARINE!!
                              gmail.com            


Reply via email to