Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 5-6 cron jobs running daily.

Is it possible that when rsync runs, then I can insert the files copies, deleted , size, any errors and all other stuff inside MySQL database. So that I can write php script to see the rsync history.

share|improve this question

Yes, of course it's possible. Redirect the output to a file, parse it into fields and values using a script. Then do SQL INSERT INTO commands.

share|improve this answer
Can everything be done in one step . i mean on rsync command line – John May 3 '10 at 6:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.