seeker22
07-21-2001, 02:34 AM
Hi, I was wondering if cron can do root commands like tar -cf /locked_dir/ ? cause some folders can only be viewed with root. and also I am writing a automated backup script and here is the files/dirs that I am having backed up.
tar -cf /tmp/redhatbackup.tar /etc/rc.d /etc/fstab /etc/host* /etc/lilo.conf /etc/HOSTNAME /var/spool/ /home/seeker22/ /bin/doom* /usr/local/games/doom/
is there any other files or folders I should back-up besides these? and also can anyone point me to a good bash scripting guide? thanks!
tar -cf /tmp/redhatbackup.tar /etc/rc.d /etc/fstab /etc/host* /etc/lilo.conf /etc/HOSTNAME /var/spool/ /home/seeker22/ /bin/doom* /usr/local/games/doom/
is there any other files or folders I should back-up besides these? and also can anyone point me to a good bash scripting guide? thanks!