Egnyte Help Desk

How do I avoid excessive sync events during backup?

Storage Sync applications replicate data bi-directionally from Cloud File Server (CFS) to a Local File Server (LFS). However, some users may still choose to backup their data from their Storage Sync shares for added security.

A Storage Sync application watches for data changes through events. Events are triggered by attribute changes to your files.

Understanding the events that can trigger synchronization is key.

  • Any modification to a file, including file attributes
  • Modification of permissions to a file or directory
  • Adding a new file or folder
  • Removing a file or folder
  • Moving or renaming a file or directory

There are many applications that can cause file attribute changes. This is typically not an issue for a small number of files, but can have a severe impact on larger datasets. The effect can be as simple as performance degradation but can escalate to more serious problems such as high network or hardware resource usage, long running syncs, and creation of unwarranted versions on your cloud file server consequently using up more storage.

A few applications are known to change data attributes, which may not be apparent to the user.

  • Anti-virus software
  • Backup applications (e.g. Symantec Backup Exec)
  • 3rd party sync applications (e.g. ViceVersa)

 

How to Filter Storage Sync Events

WARNING: Making the following configuration changes can cause serious system issues or potentially disable your Storage Sync instance. Please contact us if you are not comfortable in making these changes.

1. Backup or create a copy of your current configuration file prior to making the changes.

2. You should designate a particular user that will do the backups or synchronization and elevate that user to an administrator. You can do this by:

  • edit /apps/elc/etc/samba.include.x86_64 and add the backup user to the section "admin users"

            admin users = egnyte_smb_admin_reserved backupuser

3. Reload the Samba configuration

  • systemctl reload smb.service 

You should be fully configured for your backup application now. Note that the above admin user that you designated should only be used for the specific application.

How to Filter Storage Sync Events

WARNING: Making the following configuration changes can cause serious system issues or potentially disable your Storage Sync instance. Please contact us if you are not comfortable in making these changes.

1. Backup or create a copy of your current configuration file prior to making the changes.

2. You should designate a particular user that will do the backups or synchronization and elevate that user to an administrator. You can do this by:

  • In the case of SS for VMWare or Hyper-V, edit /etc/samba/smb.conf file and add the backup user to the section “admin users”.  Your smb.conf file looks like this after the change:

            admin users = egnyte_smb_admin_reserved backupuser

  • *Note in SS 11.x the backupuser will now need to be listed along with the corresponding AD domain name:

 admin users = egnyte_smb_admin_reserved <AD-domain-name>\backupuser

3. Reload the Samba configuration

  • /etc/init.d/smb reload [ SS 10.x ]

  • systemctl reload smb [ SS 11.x ]

You should be fully configured for your backup application now. Note that the above admin user that you designated should only be used for the specific application.

Egnyte Community

Egnyte Community

Want to connect with other Egnyte users and our Egnyte team? Share ideas and ask questions in our Community.

Help Improve Egnyte

Every day we work hard to make Egnyte better with feedback from users to improve our products. Sign up to participate in Egnyte User Studies.