From: hackbard Date: Sat, 15 Jan 2005 20:40:13 +0000 (+0000) Subject: added crontab backups X-Git-Url: https://hackdaworld.org/gitweb/?p=scripts%2Fscripts.git;a=commitdiff_plain;h=d11c6f2400146077ab28f00ed000e4c190441432 added crontab backups --- diff --git a/backup.sh b/backup.sh index f9b0b52..07a71c0 100755 --- a/backup.sh +++ b/backup.sh @@ -111,6 +111,12 @@ if [ -f /etc/X11/xorg.conf ] ; then cp /etc/X11/xorg.conf* ./etc/X11 fi +# crontabs +if [ -d /var/spool/cron/crontabs ] ; then + echo "copying crontab files" + cp -r /var/spool/cron/crontabs . +fi + # specific config stuff