From d11c6f2400146077ab28f00ed000e4c190441432 Mon Sep 17 00:00:00 2001 From: hackbard Date: Sat, 15 Jan 2005 20:40:13 +0000 Subject: [PATCH] added crontab backups --- backup.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.2