Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: stephen on May 16, 2004, 01:40:04 PM

Title: Crontab error in RH9 Prof.
Post by: stephen on May 16, 2004, 01:40:04 PM
I have configured Linux as a Data Server and there are nearly 20GB of Data in that hdd and Some Applications in that.Here i have configured Cron for backup shedule.

When the backup done from the server i checked the data of backup and i find only files are copied into the backup partition and the subdirectories are missing in the backup volume.Do you people know, what type of mistake i may done????
Title: Crontab error in RH9 Prof.
Post by: Ricky on May 16, 2004, 04:39:00 PM
can u show us ur cron job script ? also script that u try to execute using cron ?
Title: Crontab
Post by: stephen on May 19, 2004, 02:27:17 PM
O.K.
Thanks for the Suggestion Rickey....
This is an example from my cron script

Using crontab -e command i just inserted the lines..........like............


00    20     *      *      *   cp -u -a -R /vol/1rsdata /backup/rsdata

It means everyday at 8 P.M the data from /vol1/rsdata will be copied into /backup/rsdata with all subdirectories.


Thanks......................