Ask the Community
Groups
How to adjust the Linux agent's mynotify watches that are used to determine files to backup in differential and incremental backups - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>How to adjust the Linux agent's mynotify watches that are used to determine files to backup in differential and incremental backups</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p></p> <h3 data-id="purpose">Purpose</h3> <p> How to adjust the Linux agent's mynotify watches that are used to determine files to backup in differential and incremental backups</p> <h3 data-id="applies-to">Applies To</h3> <p> Linux agent 6.1.1+</p> <h3 data-id="symptoms-description">Symptoms / Description</h3> <p> The master backup includes the files you want to protect, but the differential and/or incremental do not include the files AND you have confirmed that they have been modified since the master backup began.</p> <h3 data-id="cause">Cause</h3> <p> The Linux agent differential and incremental backups now use a mynotify daemon process to track local file system changes. The daemon has the ability to exclude items from the watch processing to reduce overhead in journaling the changes. This is useful for busy temporary file folders, such as live database folders or the path of the related database log files. If you need to exclude something you may add it to either of the following files depending on your software version: /usr/bp/bpinit/watches.exc or (newer) /usr/bp/incremental_forever/journal.excludes.</p> <p>If you have a journal.excludes file then you can also tune the default exclusions by removing them.</p> <h3 data-id="resolution-workaround-execution-process">Resolution / Workaround / Execution Process</h3> <p>Edit /usr/bp/bpinit/watches.exc or (newer) /usr/bp/incremental_forever/journal.excludes. Then restart the mynotify daemon by running the following commands:</p> <blockquote class="blockquote"> <p>ps -C mynotify</p> <p>/usr/local/bin/mynotify stop</p> <p>ps -C mynotify</p> <p># Expect no results. Wait 1 minute and then run:</p> <p>ps -C mynotify</p> <p>/usr/local/bin/mynotify start<br><br># You should now see a new process ID (PID) for mynotify.</p> </blockquote> <p>Now, run a new master backup of the Linux client.</p> <h3 data-id="third-party-sources">Third-Party Sources</h3> </article> </main>