0 Replies Latest reply on Jan 19, 2010 12:29 PM by 629006

    shell script for DB backup


      i have written some java code Database backup but there are some problems with that so now i need to write shell script for db backup.

      what i was doing in java code i was running command like that
      /usr/local/bin/tar cvzf /export/home/monitor/FILE_20091005.tar.gz FILES/*20091005.*
      which compress the all *20091005* files (myisam table files)

      but after compression file doesn't extract

      so i have to write shell script for that ..... can any body guide me how can i write that kind of script and put it in cron job.