added crontab backups
authorhackbard <hackbard>
Sat, 15 Jan 2005 20:40:13 +0000 (20:40 +0000)
committerhackbard <hackbard>
Sat, 15 Jan 2005 20:40:13 +0000 (20:40 +0000)
backup.sh

index f9b0b52..07a71c0 100755 (executable)
--- 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