Linux incrond inotify: Monitor Directories For Changes And Take ActionJul 20, 2010, 21:35 (0 Talkback[s])
(Other stories by Vivek Gite)
[ Thanks to An Anonymous Reader for this link. ]
"I want to copy (rsync to remote server) a directory tree whenever file uploaded or deleted in /var/www/html/upload/ directory under Linux operating systems for backup purpose and/or load balancing purpose without getting into complex file sharing setup such as NFS or GFS iscsi storage. How do I monitor /var/www/html/upload/ and its subdirectory for new files and executes rsync command to make copy back to www2.example.com:/var/www/html/upload/?
0 Talkback[s] (click to add your comment)