Hey all, I've created a simple backup system for quick restoring of files in case they get accidentally deleted. My backup server is running Debian Squeeze, and the storage is a 2TB MDADM RAID 10 array. I did something like this a while back and everything was working fine but I came in this morning and my Nagios server was complaining about my backup server (Critical CPU Usage and excessive processes). Here's what I'm using for my backup script:
mount -t cifs -o username=admin,password=Pass1! //192.168.2.29/Shares /mnt/Windows
cp -R /mnt/Windows/"Not Shared"/* /mnt/r10/Backup/srvDictum2/5-Fri/NotShared
cp -R /mnt/Windows/Shared/* /mnt/r10/Backup/srvDictum2/5-Fri/Shared
I ran ps -aux | less and toward the bottom I saw this:
root 14684 0.0 0.0 45556 776 ? S 01:56 0:00 /USR/SBIN/CRON
root 14685 0.0 0.0 3956 372 ? Ss 01:56 0:00 /bin/sh -c /home/jobee/bin/TueDictum2 >/dev/null 2>&1
root 14686 0.0 0.0 3956 384 ? S 01:56 0:00 /bin/sh /home/jobee/bin/TueDictum2
root 14688 0.0 0.0 18080 684 ? D 01:56 0:31 cp -R /mnt/Windows/Not Shared/ADA
and then 20 more lines filled with folder entries (/mnt/Windows yadda yadda). There were about 61 of those groups.
I started this from crontab (a different backup file for each day of the week) so I'm going to go in and kill that until I figure out what I'm doing wrong. Any help would be greatly appreciated.